diff options
author | Jim Meyering <meyering@redhat.com> | 2009-01-26 18:10:39 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-01-26 18:54:58 +0100 |
commit | b27275c668d79ba460b6c2764da5e4d007d01a71 (patch) | |
tree | 5240e76236b2cf26bfb7873b8fbd56b210927c8f | |
parent | 016f8c99984d4a6005eef76d204cd2c396b357d0 (diff) | |
download | coreutils-b27275c668d79ba460b6c2764da5e4d007d01a71.tar.xz |
tests: generalize install-transform-check
* maint.mk (install-transform-check): Generalize to work also
in a project that installs manuals in a section other than "1".
-rw-r--r-- | maint.mk | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -649,12 +649,12 @@ taint-distcheck: $(DIST_ARCHIVES) # Verify that a twisted use of --program-transform-name=PROGRAM works. define install-transform-check - rm -rf $(pfx); \ - $(MAKE) program_transform_name='s/.*/zyx/' \ + echo running install-transform-check \ + && rm -rf $(pfx) \ + && $(MAKE) program_transform_name='s/.*/zyx/' \ prefix=$(pfx) install \ && test "$$(echo $(pfx)/bin/*)" = "$(pfx)/bin/zyx" \ - && test "$$(echo $(pfx)/share/man/man1/*)" = \ - "$(pfx)/share/man/man1/zyx.1" + && test "$$(find $(pfx)/share/man -type f|sed 's,.*/,,;s,\..*,,')" = "zyx" endef # Install, then verify that all binaries and man pages are in place. |