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