From: LaMont Jones Date: Sun, 21 Oct 2007 02:23:09 +0000 (-0600) Subject: Merge commit 'origin/master' X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2f5c4afdbeb82aa2dbb15efd9131def206b93eb;p=util-linux Merge commit 'origin/master' --- d2f5c4afdbeb82aa2dbb15efd9131def206b93eb 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