summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-07-18 16:42:40 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2014-08-26 20:49:48 +0200
commit5abbf5bbb5ee8717f89cac6ef409c4cec79259f6 (patch)
tree5aa8ffa7b0a7739a356978132d311d21ea69749e /buildlib
parent0d33183f0f6da97984bbc81dfe6d88014f6489ac (diff)
downloadapt-5abbf5bbb5ee8717f89cac6ef409c4cec79259f6.tar.gz
ensure that all docs use all entities files
Not all are needed for all files at the moment, but the new docbook building hadn't available some of the entities it used as the files weren't correctly copied around in all cases and having the same across the bord makes working with all of them a little easier. Git-Dch: Ignore
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/docbook.mak5
1 files changed, 3 insertions, 2 deletions
diff --git a/buildlib/docbook.mak b/buildlib/docbook.mak
index 272475721..6aa3ca0d2 100644
--- a/buildlib/docbook.mak
+++ b/buildlib/docbook.mak
@@ -13,6 +13,7 @@
LOCAL := docbook-$(firstword $(SOURCE))
$(LOCAL)-HTML := $(addsuffix .html,$(addprefix $(DOC)/,$(basename $(SOURCE))))
$(LOCAL)-TEXT := $(addsuffix .text,$(addprefix $(DOC)/,$(basename $(SOURCE))))
+INCLUDES = apt.ent apt-verbatim.ent apt-vendor.ent
docbook:
@@ -30,7 +31,7 @@ veryclean: veryclean/html/$(LOCAL)
vpath %.dbk $(SUBDIRS)
vpath $(DOCBOOK_HTML_STYLESHEET) $(SUBDIRS)
-$(DOC)/%.html: %.dbk $(DOCBOOK_HTML_STYLESHEET)
+$(DOC)/%.html: %.dbk $(DOCBOOK_HTML_STYLESHEET) $(INCLUDES)
echo Creating html for $< to $@
-rm -rf $@
mkdir -p $@
@@ -59,7 +60,7 @@ veryclean: veryclean/text/$(LOCAL)
vpath %.dbk $(SUBDIRS)
vpath $(DOCBOOK_TEXT_STYLESHEET) $(SUBDIRS)
-$(DOC)/%.text: %.dbk $(DOCBOOK_TEXT_STYLESHEET)
+$(DOC)/%.text: %.dbk $(DOCBOOK_TEXT_STYLESHEET) $(INCLUDES)
echo Creating text for $< to $@
$(DOCBOOK) \
--stringparam l10n.gentext.default.language $(LC) \