From ee2463fbcbe105a413021aa870e8a3f0094a1a24 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 28 Dec 2008 03:40:21 -0500 Subject: [PATCH] Cleanup symlinks in "make uninstall" (bug #18885) --- conf.d/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/conf.d/Makefile.am b/conf.d/Makefile.am index b5284f1..0f6eebd 100644 --- a/conf.d/Makefile.am +++ b/conf.d/Makefile.am @@ -87,3 +87,10 @@ install-data-local: echo rm -f $$i";" ln -s ../conf.avail/$$i .; \ ln -s ../conf.avail/$$i .; \ done) +uninstall-local: + @(echo cd ${DESTDIR}${confddir}; \ + cd ${DESTDIR}${confddir}; \ + for i in ${CONF_LINKS}; do \ + echo rm -f $$i; \ + rm -f $$i; \ + done) -- 2.39.5