From: LaMont Jones Date: Fri, 19 Oct 2007 12:46:56 +0000 (-0600) Subject: Merge commit 'origin/stable/v2.13' into stable/v2.13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a58995a542a941233efef3de9f5da1e9af689fe;p=util-linux Merge commit 'origin/stable/v2.13' into stable/v2.13 --- 7a58995a542a941233efef3de9f5da1e9af689fe diff --cc sys-utils/Makefile.am index 3e2f7b6b,4ef94d4d..dd637b12 --- a/sys-utils/Makefile.am +++ b/sys-utils/Makefile.am @@@ -75,9 -82,13 +82,14 @@@ install-exec-hook done for I in $(SETARCH_LINKS); do \ cd $(DESTDIR)$(usrbinexecdir) && ln -sf setarch $$I ; \ + cd $(DESTDIR)$(man8dir) && ln -sf ../man8/setarch.8 $${I}.8; \ done + + uninstall-hook: + for I in $(RDEV_LINKS); do \ + rm -f $(DESTDIR)$(usrbinexecdir)/$$I ; \ + done for I in $(SETARCH_LINKS); do \ - echo ".so setarch.8" > $(DESTDIR)$(man8dir)/$$I.8 ; \ - done + rm -f $(DESTDIR)$(usrbinexecdir)/$$I ; \ + done