$NetBSD: patch-aa,v 1.2 2005/12/28 04:36:31 reed Exp $ --- Makefile.in.orig 1993-08-17 13:12:00.000000000 -0700 +++ Makefile.in @@ -100,11 +100,11 @@ infodir = $(prefix)/info # Extension (not including `.') for the installed manual page filenames. manext = 1 # Where to install the manual pages. -mandir = $(prefix)/man/man$(manext) +mandir = $(prefix)/$(PKGMANDIR)/man$(manext) # Use manlinks=so to use the .so method instead of hard links manlinks = ln -alldirs = $(bindir) $(scriptdir) $(datadir) $(libdir) $(infodir) $(mandir) +alldirs = $(bindir) $(scriptdir) $(datadir) $(libdir) $(mandir) #### End of system configuration section. #### @@ -206,7 +206,7 @@ install: installdirs installbin installm installbin: all $(INSTALL_PROGRAM) gzip$X $(bindir)/gzip$X for f in $(SCRIPTS); do \ - $(INSTALL_PROGRAM) $${f} $(scriptdir)/$${f}; done + $(BSD_INSTALL_SCRIPT) $${f} $(scriptdir)/$${f}; done rm -f $(scriptdir)/$(G)zcmp; \ ln $(scriptdir)/$(G)zdiff $(scriptdir)/$(G)zcmp for f in gunzip$X ungzip$X $(ZCAT)$X ; do \ @@ -237,8 +237,6 @@ installman: gzip.info ln $(G)zdiff.$(manext) $(G)zcmp.$(manext);\ ln gzip.$(manext) gunzip.$(manext);\ fi - -cd $(srcdir); for f in gzip.info* ; do $(INSTALL_DATA) $${f} \ - $(infodir)/$${f}; done uninstall: force -cd $(bindir); rm -f gzip$X gunzip$X $(ZCAT)$X