pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/doc/guide * Disable PDF output accidentally enabled in...
details: https://anonhg.NetBSD.org/pkgsrc/rev/58b8a1ad0935
branches: trunk
changeset: 482204:58b8a1ad0935
user: hubertf <hubertf%pkgsrc.org@localhost>
date: Fri Oct 22 00:40:44 2004 +0000
description:
* 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:
doc/guide/Makefile | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r ac48ded2a658 -r 58b8a1ad0935 doc/guide/Makefile
--- a/doc/guide/Makefile Fri Oct 22 00:27:55 2004 +0000
+++ b/doc/guide/Makefile Fri Oct 22 00:40:44 2004 +0000
@@ -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 @@
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 @@
${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"
Home |
Main Index |
Thread Index |
Old Index