X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/9a2902305b75a6bc5a288fd1b12323c77df09b8c..1eba782fc3c55528a4da14d79e114874b9299453:/doc/makefile?ds=sidebyside diff --git a/doc/makefile b/doc/makefile index 1f009b0f5..785c0b125 100644 --- a/doc/makefile +++ b/doc/makefile @@ -13,10 +13,10 @@ include $(DOCBOOK_H) doc: manpages docbook examples/sources.list: ../vendor/current/sources.list - ln -sf $(shell readlink -f $^) $@ + ln -sf '$(abspath $^)' $@ apt-vendor.ent: ../vendor/current/apt-vendor.ent - ln -sf $(shell readlink -f $^) $@ + ln -sf '$(abspath $^)' $@ # Examples SOURCE = examples/apt.conf examples/sources.list examples/configure-index examples/apt-https-method-example.conf @@ -65,6 +65,10 @@ update-po: --porefs noline,wrap \ --package-name='$(PACKAGE)-doc' --package-version='$(PACKAGE_VERSION)' \ --msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf + sed -n '/^#$$/,$$p' po/apt-doc.pot > po/apt-doc.pot.headerfree + #cat po/apt-doc.pot > po/apt-doc.pot.headerfree + cat po/header.pot.txt po/apt-doc.pot.headerfree > po/apt-doc.pot + rm -f po/apt-doc.pot.headerfree manpages/subdirs: $(MANPAGEPOLIST) $(MANPAGEPOLIST) :: manpages-translation-% : %/makefile po4a.conf