summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2004-10-22 00:40:44 +0000
committerhubertf <hubertf@pkgsrc.org>2004-10-22 00:40:44 +0000
commitf4fa1b22f08259e6ab970285fbc19056bca91c68 (patch)
treee928964f593724759d0398003d8c9cc148e78e94 /doc/guide
parentc83249f1c4210607c4c2f493f35ea107ff989236 (diff)
downloadpkgsrc-f4fa1b22f08259e6ab970285fbc19056bca91c68.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.
Diffstat (limited to 'doc/guide')
-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"