apply patches
This commit is contained in:
commit
fa4e0ce04d
|
@ -31,7 +31,7 @@ PO4A = po4a
|
||||||
PO4A_CONFIG = man/po4a/po4a.cfg
|
PO4A_CONFIG = man/po4a/po4a.cfg
|
||||||
|
|
||||||
libsrc = $(wildcard lib/*.c)
|
libsrc = $(wildcard lib/*.c)
|
||||||
libobj = $(libsrc:.c=.o)
|
libobj = $(sort $(libsrc:.c=.o))
|
||||||
|
|
||||||
src = $(libsrc) \
|
src = $(libsrc) \
|
||||||
$(wildcard grep-dctrl/*.c) \
|
$(wildcard grep-dctrl/*.c) \
|
||||||
|
@ -39,7 +39,7 @@ src = $(libsrc) \
|
||||||
$(wildcard tbl-dctrl/*.c) \
|
$(wildcard tbl-dctrl/*.c) \
|
||||||
$(wildcard join-dctrl/*.c)
|
$(wildcard join-dctrl/*.c)
|
||||||
|
|
||||||
obj = $(src:.c=.o)
|
obj = $(sort $(src:.c=.o))
|
||||||
|
|
||||||
exe = grep-dctrl/grep-dctrl \
|
exe = grep-dctrl/grep-dctrl \
|
||||||
sort-dctrl/sort-dctrl \
|
sort-dctrl/sort-dctrl \
|
||||||
|
@ -173,12 +173,12 @@ po/dctrl-tools.pot : $(src) lib/msg.h
|
||||||
# create (or update) dctrl-tools-man.pot
|
# create (or update) dctrl-tools-man.pot
|
||||||
man/po4a/po/dctrl-tools-man.pot :
|
man/po4a/po/dctrl-tools-man.pot :
|
||||||
touch man/po4a/po/dctrl-tools-man.pot
|
touch man/po4a/po/dctrl-tools-man.pot
|
||||||
$(PO4A) --force --no-translations $(PO4A_CONFIG)
|
$(PO4A) --no-translations $(PO4A_CONFIG)
|
||||||
|
|
||||||
# build translated manpages in man/translated/$lang/
|
# build translated manpages in man/translated/$lang/
|
||||||
po4a :
|
po4a :
|
||||||
touch man/po4a/po/dctrl-tools-man.pot
|
touch man/po4a/po/dctrl-tools-man.pot
|
||||||
$(PO4A) --force --no-backups $(PO4A_CONFIG)
|
$(PO4A) --no-backups $(PO4A_CONFIG)
|
||||||
|
|
||||||
# handle the "%.1 : %.1.cp" rule if and only if the grep-dctrl.1.cp file exists
|
# handle the "%.1 : %.1.cp" rule if and only if the grep-dctrl.1.cp file exists
|
||||||
translated-man : po4a
|
translated-man : po4a
|
||||||
|
|
Loading…
Reference in New Issue