]> git.saurik.com Git - apt.git/blobdiff - doc/makefile
show right binary name in simulation notice
[apt.git] / doc / makefile
index 1f009b0f53f9f758b0378de81db7bcbfcc310cda..785c0b1252e27e37d9fa9a7c24d6f25f6f6dd3bf 100644 (file)
@@ -13,10 +13,10 @@ include $(DOCBOOK_H)
 doc: manpages docbook
 
 examples/sources.list: ../vendor/current/sources.list
 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
 
 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
 
 # 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
                --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
 
 manpages/subdirs: $(MANPAGEPOLIST)
 $(MANPAGEPOLIST) :: manpages-translation-% : %/makefile po4a.conf