summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhubertf <hubertf>2004-10-22 00:40:44 +0000
committerhubertf <hubertf>2004-10-22 00:40:44 +0000
commit90ab4754b618a28d7455edcac8243a91e79d77ac (patch)
treee928964f593724759d0398003d8c9cc148e78e94
parent8bb070ce2e230dbb23c762ae3750f0fe4a66154c (diff)
downloadpkgsrc-90ab4754b618a28d7455edcac8243a91e79d77ac.tar.gz
* Disable PDF output accidentally enabled in last commit
* Add 'install-htdocs' target to copy generated files to htdocs (useful until auto-generation is on); set HTDOCSDIR to point to htdocs.
-rw-r--r--doc/guide/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/guide/Makefile b/doc/guide/Makefile
index c6a7d7d7789..324b498d807 100644
--- a/doc/guide/Makefile
+++ b/doc/guide/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/10/22 00:24:48 hubertf Exp $
+# $NetBSD: Makefile,v 1.5 2004/10/22 00:40:44 hubertf Exp $
#
DISTNAME= htdocs-share-20041021
@@ -23,9 +23,10 @@ WRKSRC= ${WRKDIR}/${PKGNAME}
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
DOCDIR= ${PREFIX}/share/doc/pkgsrc
+HTDOCSDIR?= /usr/cvs/htdocs
BUILD_DEFS+= OUTPUTS
-OUTPUTS?= html html-split ascii pdf
+OUTPUTS?= html html-split ascii # pdf
# the html is needed to build the ascii version.
.if !empty(OUTPUTS:Mascii)
@@ -103,4 +104,12 @@ install-doc: build
${CP} ${WRKSRC}/pkgsrc.html ${_PKGSRCDIR}/doc
${CP} ${WRKSRC}/pkgsrc.txt ${_PKGSRCDIR}/doc
+install-htdocs: build
+ ${CP} \
+ ${WRKSRC}/pkgsrc.txt \
+ ${WRKSRC}/pkgsrc.pdf \
+ ${WRKSRC}/pkgsrc.ps \
+ ${WRKSRC}/*.html \
+ ${HTDOCSDIR}/Documentation/pkgsrc
+
.include "../../mk/bsd.pkg.mk"