Don't re-generate the HTML documentation unnecessarily. Patch provided

by Gilles Dauphin in PR 33962.
This commit is contained in:
rillig 2006-07-10 11:59:09 +00:00
parent 39fc918cdb
commit 64895dc026
3 changed files with 31 additions and 4 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2006/06/09 15:52:28 minskim Exp $
# $NetBSD: Makefile,v 1.11 2006/07/10 11:59:09 rillig Exp $
#
DISTNAME= cxref-1.6a
@ -10,9 +10,10 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gedanken.demon.co.uk/cxref/
COMMENT= C Cross Referencing & Documenting tool
GNU_CONFIGURE= YES
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-cxref-cpp
CONFIGURE_ARGS+= PERL="" # Don't regenerate documentation
USE_TOOLS+= gmake # uses the $< variable in the GNU way
USE_TOOLS+= lex yacc
USE_TOOLS+= lex yacc
.include "../../mk/bsd.pkg.mk"

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.5 2006/03/02 19:28:27 drochner Exp $
$NetBSD: distinfo,v 1.6 2006/07/10 11:59:10 rillig Exp $
SHA1 (cxref-1.6a.tgz) = 248b023f55f5d63c0a6b07b25034d696c3d7d0cb
RMD160 (cxref-1.6a.tgz) = 3715c52efb3abdb002277842919d033c961d6221
Size (cxref-1.6a.tgz) = 394113 bytes
SHA1 (patch-aa) = 0696dc7e2c027ebbbfb6747ff36ec9f9a36b7a88

View file

@ -0,0 +1,25 @@
$NetBSD: patch-aa,v 1.4 2006/07/10 12:00:10 rillig Exp $
Don't re-generate the HTML document unnecessarily, which avoids a
build-time dependency on Perl.
--- doc/Makefile.in.orig 2005-02-01 19:45:07.000000000 +0100
+++ doc/Makefile.in 2006-07-10 13:55:32.000000000 +0200
@@ -67,7 +67,7 @@ version.h
########
-docs : faq-html readme examples
+docs : FAQ.html readme examples
all : docs
@@ -90,7 +90,7 @@ distclean : clean
########
-faq-html : $(srcdir)/FAQ $(srcdir)/FAQ-html.pl
+FAQ.html : $(srcdir)/FAQ $(srcdir)/FAQ-html.pl
[ "x$(PERL)" = "x" ] || $(PERL) $(srcdir)/FAQ-html.pl < $(srcdir)/FAQ > FAQ.html
########