mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-31 01:24:19 +02:00
Fix make uninstall.
This commit is contained in:
parent
dfd8f6743e
commit
f7700a9610
@ -26,3 +26,13 @@ install-exec-hook:
|
|||||||
$(LN_S) ../features-available/notification.conf features-enabled/; \
|
$(LN_S) ../features-available/notification.conf features-enabled/; \
|
||||||
$(LN_S) ../features-available/syslog.conf features-enabled/; \
|
$(LN_S) ../features-available/syslog.conf features-enabled/; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
rm -f $(icinga2confdir)/features-enabled/checker.conf
|
||||||
|
rm -f $(icinga2confdir)/features-enabled/notification.conf
|
||||||
|
rm -f $(icinga2confdir)/features-enabled/syslog.conf
|
||||||
|
rmdir $(icinga2confdir)/features-enabled
|
||||||
|
@for file in $(CONFIG_FILES); do \
|
||||||
|
rm -f $(icinga2confdir)/$$file; \
|
||||||
|
done; \
|
||||||
|
rmdir $(icinga2confdir)
|
||||||
|
@ -14,4 +14,10 @@ install-data-local:
|
|||||||
done; \
|
done; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
@for file in $(CONFIG_FILES); do \
|
||||||
|
rm -f $(icinga2confdir)/$$file; \
|
||||||
|
done; \
|
||||||
|
rmdir $(icinga2confdir)
|
||||||
|
|
||||||
EXTRA_DIST = $(CONFIG_FILES)
|
EXTRA_DIST = $(CONFIG_FILES)
|
||||||
|
@ -21,4 +21,10 @@ install-data-local:
|
|||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
for file in $(CONFIG_FILES); do \
|
||||||
|
rm -f $(icinga2confdir)/$$file; \
|
||||||
|
done; \
|
||||||
|
rmdir $(icinga2confdir)
|
||||||
|
|
||||||
EXTRA_DIST = $(CONFIG_FILES)
|
EXTRA_DIST = $(CONFIG_FILES)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user