diff --git a/sysmonitor-1.3.2/src/CMakeLists.txt b/sysmonitor-1.3.2/src/CMakeLists.txt index 2a6e10731e1ceae56efeec18ab6e2cec17010372..0224bc87df1ab7135f533d412edf4faf5c280a75 100644 --- a/sysmonitor-1.3.2/src/CMakeLists.txt +++ b/sysmonitor-1.3.2/src/CMakeLists.txt @@ -39,7 +39,7 @@ install(FILES ../conf/io_monitor DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/sysmoni install(FILES ../service/sysmonitor.service DESTINATION ${SYSTEMD_SERVICEDIR}) add_custom_target(uninstall - COMMAND rm -rf /etc/sysmonitor /usr/libexec/sysmonitor /etc/rsyslog.d/sysmonitor.conf /etc/sysmonitor.d/ + COMMAND rm -rf /etc/sysmonitor ${CMAKE_INSTALL_SYSCONFDIR}/sysconfig/sysmonitor /usr/libexec/sysmonitor /etc/rsyslog.d/sysmonitor.conf /etc/sysmonitor.d/ COMMAND rm -rf /usr/lib/systemd/system/sysmonitor.service COMMAND rm -rf /usr/sbin/iomonitor_daemon /usr/bin/sysmonitor COMMENT "Uninstall sysmonitor"