bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zutils vs single compressor utilities


From: Antonio Diaz Diaz
Subject: Re: Zutils vs single compressor utilities
Date: Mon, 16 Jan 2012 19:59:14 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Hello again.

Rob noticed the test for ^g was not needed in his patch. So here is a better patch which will work with

  ./configure --program-transform-name='s/^z/gz/'


Thanks and regards,
Antonio.
diff --git a/Makefile.am b/Makefile.am
index 86a0297..ebc0cb7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -145,6 +145,19 @@ install-exec-hook remove-installed-links:
          done; \
        done
 
+install-man1: $(MANS)
+       test -d "$(DESTDIR)$(man1dir)/" || $(mkinstalldirs) 
"$(DESTDIR)$(man1dir)/"
+       for file in $(MANS) $(EXTRAMANPAGES); do \
+         t="`echo $$file | sed '$(program_transform_name)'`"; \
+         $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$t; \
+       done
+
+uninstall-man1:
+       for file in $(MANS) $(EXTRAMANPAGES); do \
+         t="`echo $$file | sed '$(program_transform_name)'`"; \
+         $(RM) $(DESTDIR)$(man1dir)/$$t; \
+       done
+
 uninstall-local: remove-installed-links
 
 ALL_RECURSIVE_TARGETS += distcheck-hook

reply via email to

[Prev in Thread] Current Thread [Next in Thread]