From: Tom Tromey Date: Sun, 6 May 2001 05:40:47 +0000 (+0000) Subject: * mans.am (install-man%SECTION%): Minor cleanup. X-Git-Tag: handle-languages~14 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=a9c58feab8e31c1b4099dddce646b0419b08618e;p=automake.git * mans.am (install-man%SECTION%): Minor cleanup. (uninstall-man%SECTION%): Likewise. --- diff --git a/ChangeLog b/ChangeLog index 9a6aceb5..48f4f618 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2001-05-05 Tom Tromey + * mans.am (install-man%SECTION%): Minor cleanup. + (uninstall-man%SECTION%): Likewise. + * tests/Makefile.am (XFAIL_TESTS): Removed man.test. * mans.am (install-man%SECTION%): Handle dist_ and nodist_ prefixes. diff --git a/lib/am/mans.am b/lib/am/mans.am index dfc3fbb3..21838e97 100644 --- a/lib/am/mans.am +++ b/lib/am/mans.am @@ -35,7 +35,8 @@ install-man%SECTION%: $(man%SECTION%_MANS) $(man_MANS) @list='$(man%SECTION%_MANS) $(dist_man%SECTION%_MANS) $(nodist_man%SECTION%_MANS)'; \ ## Extract all items from man_MANS that should go in this section. ## This must be done dynamically to support conditionals. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; for i in $$l2; do \ + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ + for i in $$l2; do \ case "$$i" in \ ## Have to accept files like `foo.1c'. *.%SECTION%*) list="$$list $$i" ;; \ @@ -66,11 +67,11 @@ install-man%SECTION%: $(man%SECTION%_MANS) $(man_MANS) .PHONY uninstall-man: uninstall-man%SECTION% uninstall-man%SECTION%: @$(NORMAL_UNINSTALL) - @list='$(man%SECTION%_MANS)'; \ @list='$(man%SECTION%_MANS) $(dist_man%SECTION%_MANS) $(nodist_man%SECTION%_MANS)'; \ ## Extract all items from man_MANS that should go in this section. ## This must be done dynamically to support conditionals. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; for i in $$l2; do \ + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ + for i in $$l2; do \ case "$$i" in \ ## Have to accept files like `foo.1c'. *.%SECTION%*) list="$$list $$i" ;; \ diff --git a/mans.am b/mans.am index dfc3fbb3..21838e97 100644 --- a/mans.am +++ b/mans.am @@ -35,7 +35,8 @@ install-man%SECTION%: $(man%SECTION%_MANS) $(man_MANS) @list='$(man%SECTION%_MANS) $(dist_man%SECTION%_MANS) $(nodist_man%SECTION%_MANS)'; \ ## Extract all items from man_MANS that should go in this section. ## This must be done dynamically to support conditionals. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; for i in $$l2; do \ + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ + for i in $$l2; do \ case "$$i" in \ ## Have to accept files like `foo.1c'. *.%SECTION%*) list="$$list $$i" ;; \ @@ -66,11 +67,11 @@ install-man%SECTION%: $(man%SECTION%_MANS) $(man_MANS) .PHONY uninstall-man: uninstall-man%SECTION% uninstall-man%SECTION%: @$(NORMAL_UNINSTALL) - @list='$(man%SECTION%_MANS)'; \ @list='$(man%SECTION%_MANS) $(dist_man%SECTION%_MANS) $(nodist_man%SECTION%_MANS)'; \ ## Extract all items from man_MANS that should go in this section. ## This must be done dynamically to support conditionals. - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; for i in $$l2; do \ + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ + for i in $$l2; do \ case "$$i" in \ ## Have to accept files like `foo.1c'. *.%SECTION%*) list="$$list $$i" ;; \