From: Behdad Esfahbod Date: Sun, 28 Dec 2008 08:40:21 +0000 (-0500) Subject: Cleanup symlinks in "make uninstall" (bug #18885) X-Git-Tag: 2.7.0~157 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ee2463fbcbe105a413021aa870e8a3f0094a1a24;p=fontconfig.git Cleanup symlinks in "make uninstall" (bug #18885) --- 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)