diff options
author | jlam <jlam@pkgsrc.org> | 2005-11-28 06:41:20 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-11-28 06:41:20 +0000 |
commit | e6e49a2f0f499b5bffcaf043e9b4f7727b7ebd6f (patch) | |
tree | 97d106419153be05872243d53d0c35426e7d6dc6 /doc | |
parent | ec87e5b5a9978501b8e3859f3bbbcb61cf88d32c (diff) | |
download | pkgsrc-e6e49a2f0f499b5bffcaf043e9b4f7727b7ebd6f.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')
-rw-r--r-- | doc/guide/Makefile.common | 9 |
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" |