X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/6c1f5d2c3c8df164e78dda8f24d28667634403e1..567785b979d9b71ceb92edda82e4f15bb40a2e61:/doc/makefile diff --git a/doc/makefile b/doc/makefile index 4c0a431fd..220a6160d 100644 --- a/doc/makefile +++ b/doc/makefile @@ -56,6 +56,9 @@ endif SOURCE = apt.8 include $(MANPAGE_H) +examples/sources.list: examples/sources.list.in apt-verbatim.ent + sed -e 's#&stable-codename;#$(shell grep --max-count=1 '^<!ENTITY stable-codename "' apt-verbatim.ent | cut -d'"' -f 2)#g' examples/sources.list.in > examples/sources.list + # Examples SOURCE = examples/apt.conf examples/sources.list examples/configure-index examples/apt-https-method-example.conf TO = $(DOC) @@ -83,14 +86,18 @@ ifdef PO4A doc: po4a update-po: - po4a --previous --no-backups --force --no-translations po4a.conf + po4a --previous --no-backups --force --no-translations \ + --package-name='$(PACKAGE)-doc' --package-version='$(PACKAGE_VERSION)' \ + --msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf po4a: - po4a --previous --no-backups po4a.conf + po4a --previous --no-backups \ + --package-name='$(PACKAGE)-doc' --package-version='$(PACKAGE_VERSION)' \ + --msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf endif stats: - for i in po/*.po; do echo -n "$$i: "; msgfmt --statistics $$i; done + for i in po/*.po; do echo -n "$$i: "; msgfmt --output-file=/dev/null --statistics $$i; done ifdef DOXYGEN DOXYGEN_SOURCES = $(shell find $(BASE)/apt-pkg -not -name .\\\#* -and \( -name \*.cc -or -name \*.h \) )