Fix when NOPORTDOCS is set.

This commit is contained in:
Thierry Thomas 2008-04-02 21:28:59 +00:00
parent 697f470c95
commit 8206ad4c81
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210408

View file

@ -48,9 +48,11 @@ CONFIGURE_ARGS+= --without-kde
USE_KDELIBS_VER=3
.endif
.if !defined(NOPORTDOCS)
PORTDOCS= AUTHORS BUGS ChangeLog INSTALL NEWS README README.CODESTYLE\
README.LICENSE TODO
INFO= tora
.endif
PREFIX2FIX= doc/help/preferences.texi src/toconfiguration.h
@ -70,7 +72,7 @@ pre-configure:
${REINPLACE_CMD} -e 's|/etc/torarc|${PREFIX}/etc/torarc|' \
${PREFIX2FIX:S|^|${WRKSRC}/|}
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's|test doc|test|' ${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e 's|test doc|test|' ${WRKSRC}/Makefile.am
.endif
post-install: