pkgsrc/archivers/gsharutils/patches/patch-ad

30 lines
818 B
Text

$NetBSD: patch-ad,v 1.3 2005/08/26 06:07:35 reed Exp $
--- doc/Makefile.in.orig 1995-11-25 02:44:35.000000000 +0000
+++ doc/Makefile.in 2005-08-26 05:47:16.587932824 +0000
@@ -37,8 +37,8 @@
MAN5PAGES = @MAN5PAGES@
prefix = @prefix@
-infodir = $(prefix)/info
-mandir = $(prefix)/man
+infodir = @infodir@
+mandir = @mandir@
man1dir = $(mandir)/man1
man1ext = .1
man5dir = $(mandir)/man5
@@ -109,11 +109,11 @@
$(man1dir)/`echo $$name | sed '$(transform)'`$(man1ext); \
fi; \
done
- test -z "$(MAN5PAGES)" || \
- for name in $(MAN5PAGES); do \
+ for name in "" $(MAN5PAGES); do \
+ if [ "X$$name" = "X" ]; then continue; fi; \
$(INSTALL_DATA) $(srcdir)/$$name.5 \
$(man5dir)/`echo $$name | sed '$(transform)'`$(man5ext); \
- done
+ done
uninstall-man:
for name in $(MAN1PAGES); do \