summaryrefslogtreecommitdiff
path: root/doc/guide/Makefile.common
diff options
context:
space:
mode:
authorjlam <jlam>2005-11-28 06:41:20 +0000
committerjlam <jlam>2005-11-28 06:41:20 +0000
commit9db6c646b68577a8922b10f4abbca7b50dbfb641 (patch)
tree97d106419153be05872243d53d0c35426e7d6dc6 /doc/guide/Makefile.common
parent5ddc900951e951816aa20985beed2a888ead76f0 (diff)
downloadpkgsrc-9db6c646b68577a8922b10f4abbca7b50dbfb641.tar.gz
Change all instances of including mk/ghostscript.mk into asking for
the appropriate tool via USE_TOOLS (usually "gs:run"), and remove ghostscript.mk. This change removes a rather out-dated file from pkgsrc and switches packages to use the more compact implementation of the Ghostcript-handling inside the tools framework.
Diffstat (limited to 'doc/guide/Makefile.common')
-rw-r--r--doc/guide/Makefile.common9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/guide/Makefile.common b/doc/guide/Makefile.common
index 672a221bcdc..d878336c492 100644
--- a/doc/guide/Makefile.common
+++ b/doc/guide/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2005/11/03 01:57:15 tv Exp $
+# $NetBSD: Makefile.common,v 1.2 2005/11/28 06:41:20 jlam Exp $
#
# This is included by doc/guide and meta-pkgs/pkgsrc-guide-tools.
#
@@ -30,9 +30,12 @@ _GUIDE_DEPENDS+= w3m>=0.4:../../www/w3m
.if !empty(_GUIDE_OUTPUTS:Mps) || !empty(_GUIDE_OUTPUTS:Mpdf)
_GUIDE_DEPENDS+= openjade>=1.3.2:../../textproc/openjade
_GUIDE_DEPENDS+= tex-jadetex>=3.13:../../print/tex-jadetex
-USE_GHOSTSCRIPT?= ${_GUIDE_DEPTYPE}
GHOSTSCRIPT_REQD= 7.05
-. include "../../mk/ghostscript.mk"
+. if ${_GUIDE_DEPTYPE} == "run"
+USE_TOOLS+= gs:run
+. else
+USE_TOOLS+= gs
+. endif
.endif
.if ${_GUIDE_DEPTYPE} == "run"