diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2013-11-30 19:15:02 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2013-11-30 23:34:15 +0100 |
commit | 694ef56e802bbab94595fc491fdc6ef8b4f525c1 (patch) | |
tree | a6940bf70d7a814741de6be329cee6d0f2915d82 /doc/en | |
parent | eef71f11a5836eb82df133cb4e24cb4806642188 (diff) |
add a vendor specific file to have configurable entities
manpages sometimes refer to distro-specific things like the name of the
package providing the achive-keyring. Having a central place to
configure this helps in having it consistent in the manpages and allows
to load this info from other places in the buildsystem as well later.
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/en/makefile b/doc/en/makefile index a4fb232d4..247ce38b5 100644 --- a/doc/en/makefile +++ b/doc/en/makefile @@ -9,12 +9,15 @@ include ../../buildlib/defaults.mak ifdef XSLTPROC # generate a list of accepted man page translations SOURCE = $(patsubst ../%.xml,%,$(wildcard ../*.?.xml)) -INCLUDES = ../apt.ent ../apt-verbatim.ent +INCLUDES = ../apt.ent ../apt-verbatim.ent apt-vendor.ent STYLESHEET=../manpage-style.xsl LOCAL := manpage-$(firstword $(SOURCE)) $(LOCAL)-LIST := $(SOURCE) +apt-vendor.ent: ../../vendor/current/apt-vendor.ent + ln -sf $(shell readlink -f $^) $@ + # Install generation hooks manpages: $($(LOCAL)-LIST) apt.8 @@ -30,7 +33,7 @@ apt.8: ../apt.8 veryclean: clean/$(LOCAL) clean: clean/$(LOCAL) clean/$(LOCAL): - -rm -rf $($(@F)-LIST) apt.8 + -rm -rf $($(@F)-LIST) apt.8 apt-vendor.ent endif # Chain to the manpage rule |