1 ## Process this file with automake to produce Makefile.in
3 PO4A_V = $(PO4A_V_$(V))
4 PO4A_V_ = $(PO4A_V_$(AM_DEFAULT_VERBOSITY))
5 PO4A_V_0 = @echo " PO4A $@";
7 PO4A_RM_V = $(PO4A_RM_V_$(V))
8 PO4A_RM_V_ = $(PO4A_RM_V_$(AM_DEFAULT_VERBOSITY))
9 PO4A_RM_V_0 = @echo " PO4ARM $@";
11 all-local: all-local-@USE_PO4A@
14 all-local-yes: man.stamp
16 PO4A_COMMON_OPTS = --previous --variable builddir=$(CURDIR)
17 PO4A_BUILD_OPTS = $(PO4A_COMMON_OPTS) --no-backups
18 PO4A_CLEAN_OPTS = $(PO4A_COMMON_OPTS) --rm-backups --rm-translations
20 # FIXME: Use a stamp file until po4a supports them internally.
22 $(PO4A_V) cd $(srcdir) && \
23 $(PO4A) $(PO4A_BUILD_OPTS) po/po4a.cfg
26 clean-local: clean-local-@USE_PO4A@
30 $(PO4A_RM_V) cd $(srcdir) && \
31 $(PO4A) $(PO4A_CLEAN_OPTS) po/po4a.cfg
32 $(AM_V_at) rm -f man.stamp
35 $(PO4A_V) cd $(srcdir) && \
36 $(PO4A) $(PO4A_BUILD_OPTS) --force po/po4a.cfg
38 # Extract the list of languages from the po4a config file.
39 LINGUAS = `sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' $(srcdir)/po/po4a.cfg`
41 install-data-local: install-data-local-@USE_PO4A@
43 install-data-local-no:
44 install-data-local-yes:
45 for lang in $(LINGUAS); do \
47 for trans in $(dist_man_MANS); do \
48 if [ -f $(srcdir)/$$lang/$$trans ]; then \
49 files="$$files $(srcdir)/$$lang/$$trans"; \
53 mandir="$(mandir)/$$lang" \
55 dist_man_MANS="$$files"; \
58 uninstall-local: uninstall-local-@USE_PO4A@
62 for lang in $(LINGUAS); do \
64 for trans in $(dist_man_MANS); do \
65 if [ -f $(srcdir)/$$lang/$$trans ]; then \
66 files="$$files $(srcdir)/$$lang/$$trans"; \
69 $(MAKE) uninstall-man \
70 mandir="$(mandir)/$$lang" \
72 dist_man_MANS="$$files"; \
76 cp $(srcdir)/man.stamp $(distdir)/
77 for lang in $(LINGUAS); do \
78 cp $(srcdir)/po/$$lang.po $(distdir)/po; \
79 cp $(srcdir)/po/$$lang.add $(distdir)/po; \
80 $(mkdir_p) $(distdir)/$$lang; \
81 cp -r $(srcdir)/$$lang $(distdir)/; \
94 deb-extra-override.5 \
98 dpkg-checkbuilddeps.1 \
106 dpkg-parsechangelog.1 \
108 dpkg-scanpackages.1 \
113 dpkg-statoverride.8 \
118 update-alternatives.8
126 if WITH_START_STOP_DAEMON