Updated Makefile and po4a.cnf with some clean-up.

This commit is contained in:
Jesse 2022-06-09 14:58:26 -03:00
parent 4adc25752c
commit c861c41d5e
2 changed files with 5 additions and 6 deletions

View File

@ -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 \ readbootlog.1 reboot.8 runlevel.8 shutdown.8 sulogin.8 telinit.8 utmpdump.1 \
wall.1 wall.1
LANGUAGES=$(shell sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' po/po4a.cfg)
PO4A := $(shell command -v po4a 2> /dev/null) PO4A := $(shell command -v po4a 2> /dev/null)
PO4A_OPTS = --previous --srcdir po/ --destdir ./ --no-backups --stamp \ 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 <jsmith@resonatingmedia.com>"
all: all:
sed --in-place=.orig --separate 's/\@VERSION\@/$(VERSION)/g' $(MANPAGES) sed --in-place=.orig --separate 's/\@VERSION\@/$(VERSION)/g' $(MANPAGES)
@ -24,5 +24,5 @@ clean distclean:
for man in $(MANPAGES) ; do \ for man in $(MANPAGES) ; do \
if [ -f "$$man.orig" ] ; then mv "$$man.orig" "$$man" ; fi \ if [ -f "$$man.orig" ] ; then mv "$$man.orig" "$$man" ; fi \
done done
for lang in $(LANGUAGES) ; do rm -rf "po/$$lang" "$$lang.po" ; done for lang in $(LANGUAGES) ; do rm -rf "$$lang" "$$lang.po" ; done

View File

@ -1,5 +1,4 @@
[po4a_langs] de es fi fr hu id pl [po_directory] ./
[po4a_paths] sysvinit-man.pot $lang:$lang.po
[type:man] ../bootlogd.8 $lang:$lang/bootlogd.8 [type:man] ../bootlogd.8 $lang:$lang/bootlogd.8
[type:man] ../fstab-decode.8 $lang:$lang/fstab-decode.8 [type:man] ../fstab-decode.8 $lang:$lang/fstab-decode.8