+Mon Apr 26 18:53:15 BST 2004 Scott James Remnant <scott@netsplit.com>
+
+ * configure.in: Put the man page directories in alphabetical order.
+ * man/Makefile.in: Likewise
+ * debian/rules: Extract manual page directories from Makefile.in and
+ use that list instead of hardcoding them.
+
Sun Apr 25 19:00:20 BST 2004 Scott James Remnant <scott@netsplit.com>
* version-nr, debian/changelog: Bump version to 1.10.22.
dpkg (1.10.22) unstable; urgency=low
- *
+ * Stop hardcoding the list of manual page languages in debian/rules,
+ so we include Spanish, Russian and Brazilian Portugese. Closes: #245994.
-- Scott James Remnant <scott@netsplit.com> UNRELEASED
BUILD-DIRS := $(BUILD) $(BUILD)-static
+# Hacky, but effective
+MANDIRS := $(shell sed -n -e '/^SUBDIRS/{s/.*= *//;s/ en / /;p}' $(CURDIR)/man/Makefile.in)
+
aclocal.m4: $(wildcard automake/*.m4)
aclocal -I automake
cp -a $(INSTALL_TMP)/usr/share/doc/dpkg/$$i $(TMP_DPKG)/usr/share/doc/dpkg$(static)/ ; \
done
cp -a debian/pseudo-tags $(TMP_DPKG)/usr/share/doc/dpkg$(static)/
- set -e ; for i in "" de fr ja sv ; do \
+ set -e ; for i in "" $(MANDIRS) ; do \
install -d -m 755 -o root -g root $(TMP_DPKG)/usr/share/man/$$i/man1 ; \
for m in md5sum.1 dpkg-deb.1 ; do \
if [ -f $(INSTALL_TMP)/usr/share/man/$$i/man1/$$m ] ; then \
dpkg-parsechangelog dpkg-checkbuilddeps ; do \
mv $(INSTALL_TMP)/usr/bin/$$i $(TMP_DPKG_DEV)/usr/bin/ ; \
done
- set -e ; for i in "" de fr ja sv ; do \
+ set -e ; for i in "" $(MANDIRS) ; do \
install -d -m 755 -o root -g root $(TMP_DPKG_DEV)/usr/share/man/$$i/man1 ; \
for m in dpkg-name.1 dpkg-source.1 822-date.1 dpkg-architecture.1 \
dpkg-buildpackage.1 dpkg-distaddfile.1 dpkg-genchanges.1 \
install -d -m 755 -o root -g root $(TMP_DSELECT)/var/lib/dpkg
mv $(INSTALL_TMP)/var/lib/dpkg/methods $(TMP_DSELECT)/var/lib/dpkg/
- set -e ; for i in "" de fr ja sv ; do \
+ set -e ; for i in "" $(MANDIRS) ; do \
install -d -m 755 -o root -g root $(TMP_DSELECT)/usr/share/man/$$i/man5 ; \
for m in dselect.cfg.5 ; do \
if [ -f $(INSTALL_TMP)/usr/share/man/$$i/man5/$$m ] ; then \