aboutsummaryrefslogtreecommitdiff
path: root/share/doc/Makefile
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1995-01-11 04:29:38 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1995-01-11 04:29:38 +0000
commit056721988a60a5c07db5b4d2a58d7d47b6a93656 (patch)
tree829aefc1364fc0316631d57702b51b30a28febcd /share/doc/Makefile
parentdebba9d5a3f9448e782c6ea0aba4b996122c8447 (diff)
downloadsrc-056721988a60a5c07db5b4d2a58d7d47b6a93656.tar.gz
src-056721988a60a5c07db5b4d2a58d7d47b6a93656.zip
Always make the papers. Automatically make both PostScript and ASCII versions
of each document, and install both on request.
Notes
Notes: svn path=/head/; revision=5493
Diffstat (limited to 'share/doc/Makefile')
-rw-r--r--share/doc/Makefile27
1 files changed, 24 insertions, 3 deletions
diff --git a/share/doc/Makefile b/share/doc/Makefile
index a0e5bb60b1c9..644118432af1 100644
--- a/share/doc/Makefile
+++ b/share/doc/Makefile
@@ -1,7 +1,28 @@
-# @(#)Makefile 8.1 (Berkeley) 6/5/93
+# From: @(#)Makefile 8.1 (Berkeley) 6/5/93
+# $Id$
-SUBDIR= psd smm usd
+SUBDIR= psd smm usd papers
-all depend lint tags:
+all-ps:
+ @echo ====\> Making PostScript documents
+ @${MAKE} ${MAKEFLAGS} PRINTER=ps ${SUBDIR}
+
+all-ascii:
+ @echo ====\> Making ASCII documents
+ @${MAKE} ${MAKEFLAGS} PRINTER=ascii ${SUBDIR}
+
+all: all-ps all-ascii
+
+install-ps:
+ @echo ====\> Installing PostScript documents
+ @${MAKE} ${MAKEFLAGS} PRINTER=ps realinstall
+
+install-ascii:
+ @echo ====\> Installing ASCII documents
+ @${MAKE} ${MAKEFLAGS} PRINTER=ascii realinstall
+
+install: install-ps install-ascii
+
+realinstall: _SUBDIRUSE
.include <bsd.subdir.mk>