summaryrefslogtreecommitdiff
path: root/doc/en/makefile
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-01-06 07:51:45 +0100
committerMichael Vogt <mvo@debian.org>2014-01-06 07:51:45 +0100
commit1b4560fec66a6e7b2dff9aaa19095fb8423f69a0 (patch)
tree7fb2b63e31f356ef87af4699ba87b4f1443f508c /doc/en/makefile
parent81d183681aea972fddd453d62109f8ccda3f447a (diff)
parent74d4bb26e09146b9d5f01889a676dc58ff5d63cd (diff)
Merge branch 'debian/sid' into feature/apt-manpage
Diffstat (limited to 'doc/en/makefile')
-rw-r--r--doc/en/makefile7
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