diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-10 23:43:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-10 23:43:17 +0000 |
commit | 9d82df118e59eabadef4cda0755a187da4b387cb (patch) | |
tree | db7167d6acc79d4280b6efb344244a163d751304 /Build/source/texk/kpathsea/man | |
parent | c503dd0f585916cebea4f4c3d141b37c25bb617c (diff) |
depend on stamp-paths instead of recursing to create it
git-svn-id: svn://tug.org/texlive/trunk@13037 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/man')
-rw-r--r-- | Build/source/texk/kpathsea/man/Makefile.in | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/man/Makefile.in b/Build/source/texk/kpathsea/man/Makefile.in index 82c1278202f..0b628fbec1d 100644 --- a/Build/source/texk/kpathsea/man/Makefile.in +++ b/Build/source/texk/kpathsea/man/Makefile.in @@ -226,10 +226,16 @@ mostlyclean-libtool: clean-libtool: -rm -rf .libs _libs -install-man1: $(nodist_man1_MANS) +install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" - @list='$(nodist_man1_MANS)'; \ + @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ + for i in $$l2; do \ + case "$$i" in \ + *.1*) list="$$list $$i" ;; \ + esac; \ + done; \ for i in $$list; do \ if test -f $$i; then file=$$i; \ else file=$(srcdir)/$$i; fi; \ @@ -246,7 +252,13 @@ install-man1: $(nodist_man1_MANS) done uninstall-man1: @$(NORMAL_UNINSTALL) - @list='$(nodist_man1_MANS)'; \ + @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ + for i in $$l2; do \ + case "$$i" in \ + *.1*) list="$$list $$i" ;; \ + esac; \ + done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ |