openbsd-ports/sysutils/LPRng/patches/patch-ab
1997-11-15 00:04:24 +00:00

65 lines
2.2 KiB
Plaintext

*** man/Makefile.bsd.in.orig Wed Apr 2 09:52:14 1997
--- man/Makefile.bsd.in Wed Apr 2 10:03:32 1997
***************
*** 18,24 ****
MANINSTCMD = @INSTALL_MAN@
# change MANEXT to .gz or .Z if you use compressed manpages.
! MANEXT =
## fix up PREFIX to be a make variable
PREFIX = @prefix@
--- 18,24 ----
MANINSTCMD = @INSTALL_MAN@
# change MANEXT to .gz or .Z if you use compressed manpages.
! MANEXT = .gz
## fix up PREFIX to be a make variable
PREFIX = @prefix@
***************
*** 40,60 ****
# Standard man install target.
#
! install:
! ${SRC}/mkinstalldirs $(MAN)/man1 $(MAN)/man5 $(MAN)/man8
! cd ${SRC}; for i in *.1; do $(MANINSTCMD) $$i $(MAN)/man1/$$i$(MANEXT); done
! cd ${SRC}; for i in *.5; do $(MANINSTCMD) $$i $(MAN)/man5/$$i$(MANEXT); done
! cd ${SRC}; for i in *.8; do $(MANINSTCMD) $$i $(MAN)/man8/$$i$(MANEXT); done
# Install man pages in compressed form.
#
! install.zman:
! for i in ${SRC}/*.1; do compress < $$i >/tmp/_; \
! $(MANINSTCMD) /tmp/_ $(MAN)/man1.Z/$$i$(MANEXT); rm -f /tmp/_; done
! for i in ${SRC}/*.5; do compress < $$i >/tmp/_; \
! $(MANINSTCMD) /tmp/_ $(MAN)/man5.Z/$$i$(MANEXT); rm -f /tmp/_; done
! for i in ${SRC}/*.8; do compress < $$i >/tmp/_; \
! $(MANINSTCMD) /tmp/_ $(MAN)/man8.Z/$$i$(MANEXT); rm -f /tmp/_; done
uninstall:
for i in *.1; do rm -f $(MAN)/man1/$$i$(MANEXT); done
--- 40,60 ----
# Standard man install target.
#
! #install:
! # ${SRC}/mkinstalldirs $(MAN)/man1 $(MAN)/man5 $(MAN)/man8
! # cd ${SRC}; for i in *.1; do $(MANINSTCMD) $$i $(MAN)/man1/$$i$(MANEXT); done
! # cd ${SRC}; for i in *.5; do $(MANINSTCMD) $$i $(MAN)/man5/$$i$(MANEXT); done
! # cd ${SRC}; for i in *.8; do $(MANINSTCMD) $$i $(MAN)/man8/$$i$(MANEXT); done
# Install man pages in compressed form.
#
! install:
! for i in ${SRC}/*.1; do gzip -n < $$i >/tmp/_; \
! $(MANINSTCMD) /tmp/_ $(MAN)/man1/$$i$(MANEXT); rm -f /tmp/_; done
! for i in ${SRC}/*.5; do gzip -n < $$i >/tmp/_; \
! $(MANINSTCMD) /tmp/_ $(MAN)/man5/$$i$(MANEXT); rm -f /tmp/_; done
! for i in ${SRC}/*.8; do gzip -n < $$i >/tmp/_; \
! $(MANINSTCMD) /tmp/_ $(MAN)/man8/$$i$(MANEXT); rm -f /tmp/_; done
uninstall:
for i in *.1; do rm -f $(MAN)/man1/$$i$(MANEXT); done