summaryrefslogtreecommitdiff
path: root/print/LPRng/patches/patch-ag
blob: 81c750446e78ea7f0aea83659d4b04ddb0a7db77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
*** man/Makefile.bsd.in.orig	Thu Jul 22 09:46:16 1999
--- man/Makefile.bsd.in	Thu Jul 22 10:10:23 1999
***************
*** 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@
***************
*** 51,71 ****
  
  # Standard man install target.
  #
! install:
! 	-${SRC}/mkinstalldirs $(MAN)/man1 $(MAN)/man5 $(MAN)/man8
! 	for i in ${SRC}/*.1; do $(MANINSTCMD) $$i $(MAN)/man1/`basename $$i`$(MANEXT); done
! 	for i in ${SRC}/*.5; do $(MANINSTCMD) $$i $(MAN)/man5/`basename $$i`$(MANEXT); done
! 	for i in ${SRC}/*.8; do $(MANINSTCMD) $$i $(MAN)/man8/`basename $$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
--- 51,71 ----
  
  # Standard man install target.
  #
! #install:
! #	-${SRC}/mkinstalldirs $(MAN)/man1 $(MAN)/man5 $(MAN)/man8
! #	for i in ${SRC}/*.1; do $(MANINSTCMD) $$i $(MAN)/man1/`basename $$i`$(MANEXT); done
! #	for i in ${SRC}/*.5; do $(MANINSTCMD) $$i $(MAN)/man5/`basename $$i`$(MANEXT); done
! #	for i in ${SRC}/*.8; do $(MANINSTCMD) $$i $(MAN)/man8/`basename $$i`$(MANEXT); done
  
  # Install man pages in compressed form.
  #
! install:
! 	for i in ${SRC}/*.1; do gzip < $$i >/tmp/_; \
! 		$(MANINSTCMD) /tmp/_ $(MAN)/man1/$$i$(MANEXT); rm -f /tmp/_; done
! 	for i in ${SRC}/*.5; do gzip < $$i >/tmp/_; \
! 		$(MANINSTCMD) /tmp/_ $(MAN)/man5/$$i$(MANEXT); rm -f /tmp/_; done
! 	for i in ${SRC}/*.8; do gzip < $$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