pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
doxygen: Fix variable expansion for HTML documentation
Module Name: pkgsrc-wip
Committed By: Michael Baeuerle <michael.baeuerle%stz-e.de@localhost>
Pushed By: micha
Date: Mon Jan 21 15:07:45 2019 +0100
Changeset: e50921f2ce9b8c0185644df0cb075156bcc62553
Modified Files:
doxygen/Makefile
Log Message:
doxygen: Fix variable expansion for HTML documentation
The changelog contains $PWD / $(PWD) / $(HOME), which are expanded
to paths of the build machine => Remove dollar signs.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e50921f2ce9b8c0185644df0cb075156bcc62553
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
doxygen/Makefile | 11 +++++++++++
1 file changed, 11 insertions(+)
diffs:
diff --git a/doxygen/Makefile b/doxygen/Makefile
index 1ad19de0a2..f095392bba 100644
--- a/doxygen/Makefile
+++ b/doxygen/Makefile
@@ -39,6 +39,17 @@ SUBST_MESSAGE.epstopdf= Fixing path to epstopdf
SUBST_FILES.epstopdf= src/diagram.cpp src/docparser.cpp src/msc.cpp
SUBST_SED.epstopdf= -e 's,"epstopdf","${PREFIX}/bin/epstopdf",g'
+# Fixing $PWD / $(PWD) / $(HOME) for documentation
+# The dollar sign should be inserted literally in the documentation
+# doxygen always inserted the path => Completely remove dollar sign
+SUBST_CLASSES+= changelog
+SUBST_STAGE.changelog= pre-configure
+SUBST_MESSAGE.changelog=Fixing dollar sign for documentation
+SUBST_FILES.changelog= doc/changelog.doc
+SUBST_SED.changelog= -e 's,$$PWD,PWD,g'
+SUBST_SED.changelog+= -e 's,$$(PWD,(PWD,g'
+SUBST_SED.changelog+= -e 's,$$(HOME,(HOME,g'
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
Home |
Main Index |
Thread Index |
Old Index