diff --git a/man/Makefile b/man/Makefile index 82bfd2c..1106241 100644 --- a/man/Makefile +++ b/man/Makefile @@ -3,11 +3,11 @@ killall5.8 last.1 lastb.1 logsave.8 mesg.1 mountpoint.1 pidof.8 poweroff.8 \ readbootlog.1 reboot.8 runlevel.8 shutdown.8 sulogin.8 telinit.8 utmpdump.1 \ wall.1 -LANGUAGES=$(shell sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' po/po4a.cfg) - PO4A := $(shell command -v po4a 2> /dev/null) + PO4A_OPTS = --previous --srcdir po/ --destdir ./ --no-backups --stamp \ - --package-name sysvinit --package-version $(VERSION) + --package-name sysvinit --package-version $(VERSION) \ + --msgid-bugs-address "Jesse " all: sed --in-place=.orig --separate 's/\@VERSION\@/$(VERSION)/g' $(MANPAGES) @@ -24,5 +24,5 @@ clean distclean: for man in $(MANPAGES) ; do \ if [ -f "$$man.orig" ] ; then mv "$$man.orig" "$$man" ; fi \ done - for lang in $(LANGUAGES) ; do rm -rf "po/$$lang" "$$lang.po" ; done + for lang in $(LANGUAGES) ; do rm -rf "$$lang" "$$lang.po" ; done diff --git a/man/po/po4a.cfg b/man/po/po4a.cfg index 4c92598..4e294ae 100644 --- a/man/po/po4a.cfg +++ b/man/po/po4a.cfg @@ -1,5 +1,4 @@ -[po4a_langs] de es fi fr hu id pl -[po4a_paths] sysvinit-man.pot $lang:$lang.po +[po_directory] ./ [type:man] ../bootlogd.8 $lang:$lang/bootlogd.8 [type:man] ../fstab-decode.8 $lang:$lang/fstab-decode.8