/* The version number string */
#undef PACKAGE_VERSION
+/* The mail address to reach upstream */
+#undef PACKAGE_MAIL
+
#define APT_8_CLEANER_HEADERS
PACKAGE = @PACKAGE@
PACKAGE_VERSION = @PACKAGE_VERSION@
+PACKAGE_MAIL = @PACKAGE_MAIL@
# C++ compiler options
CC = @CC@
PACKAGE="apt"
PACKAGE_VERSION="0.9.4"
+PACKAGE_MAIL="APT Development Team <deity@lists.debian.org>"
AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE")
AC_DEFINE_UNQUOTED(PACKAGE_VERSION,"$PACKAGE_VERSION")
+AC_DEFINE_UNQUOTED(PACKAGE_MAIL,"$PACKAGE_MAIL")
AC_SUBST(PACKAGE)
AC_SUBST(PACKAGE_VERSION)
+AC_SUBST(PACKAGE_MAIL)
dnl Check the archs, we want the target type.
AC_CANONICAL_SYSTEM
doc: po4a
update-po:
- po4a --previous --no-backups --force --no-translations po4a.conf
+ po4a --previous --no-backups --force --no-translations \
+ --package-name='$(PACKAGE)' --package-version='$(PACKAGE_VERSION)' \
+ --msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf
po4a:
- po4a --previous --no-backups po4a.conf
+ po4a --previous --no-backups \
+ --package-name='$(PACKAGE)' --package-version='$(PACKAGE_VERSION)' \
+ --msgid-bugs-address='$(PACKAGE_MAIL)' po4a.conf
endif
stats:
- for i in po/*.po; do echo -n "$$i: "; msgfmt --statistics $$i; done
+ for i in po/*.po; do echo -n "$$i: "; msgfmt --output-file=/dev/null --statistics $$i; done
ifdef DOXYGEN
DOXYGEN_SOURCES = $(shell find $(BASE)/apt-pkg -not -name .\\\#* -and \( -name \*.cc -or -name \*.h \) )
cp $@ $(LOCALE)/$(notdir $*)/LC_MESSAGES/$(call GETDOMAIN,$*).mo
stats:
- for i in *.pot *.po; do echo -n "$$i: "; msgfmt --statistics $$i; done
+ for i in *.pot *.po; do echo -n "$$i: "; msgfmt --output-file=/dev/null --statistics $$i; done
binary: $(POTFILES) $(MOFILES)
# we create our partial pot files without a header to avoid changing dates in *.mo files,
# but we want a header for our master-pot file, so we use a dummy pot with nothing but the header
$(XGETTEXT) --default-domain=$(PO)/$(PACKAGE)-dummy.pot --foreign --language=c \
- -o $(PO)/$(PACKAGE)-dummy.pot --force-po --package-name=$(PACKAGE) \
- --package-version=$(PACKAGE_VERSION) --msgid-bugs-address=deity@lists.debian.org /dev/null
+ -o $(PO)/$(PACKAGE)-dummy.pot --force-po --package-name='$(PACKAGE)' \
+ --package-version='$(PACKAGE_VERSION)' --msgid-bugs-address='$(PACKAGE_MAIL)' /dev/null
$(MSGCOMM) --more-than=0 $(PO)/$(PACKAGE)-dummy.pot $(POTFILES) --output=$(PACKAGE)-all.pot
rm -f $(PO)/$(PACKAGE)-dummy.pot