summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2014-02-25 16:58:09 +0100
committerDidier Raboud <odyx@debian.org>2014-02-25 19:19:37 +0100
commit1e0c389efae5d40e7f783800abdcd3bf3d88e8b8 (patch)
treedabe3e414962146bd89c8eeaf19a064d18152fce
parent6f7a81696a7e99a56470bc22a27e1e0ae4e6a819 (diff)
downloadcups-1e0c389efae5d40e7f783800abdcd3bf3d88e8b8.tar.gz
Install the translated manpages to cups-bsd
-rw-r--r--debian/cups-bsd.install4
-rwxr-xr-xdebian/rules7
2 files changed, 7 insertions, 4 deletions
diff --git a/debian/cups-bsd.install b/debian/cups-bsd.install
index 5ae4830e..9bb8ad8d 100644
--- a/debian/cups-bsd.install
+++ b/debian/cups-bsd.install
@@ -3,10 +3,6 @@ usr/bin/lpq
usr/bin/lpr
usr/bin/lprm
usr/share/man/man1/lpr.1.gz
-#usr/share/man/*/man1/lpr.1.gz
usr/share/man/man1/lprm.1.gz
-#usr/share/man/*/man1/lprm.1.gz
usr/share/man/man1/lpq.1.gz
-#usr/share/man/*/man1/lpq.1.gz
usr/share/man/man8/lpc.8.gz
-#usr/share/man/*/man8/lpc.8.gz
diff --git a/debian/rules b/debian/rules
index d9385c01..17646bce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -67,6 +67,7 @@ override_dh_auto_install:
MANPAGES_L10N_CUPS=man5/subscriptions.conf.5 man5/mime.convs.5 man7/filter.7 man8/cupsfilter.8 man8/cups-deviced.8 man8/cups-driverd.8 man8/cupsd-lpd.8
MANPAGES_L10N_CUPS_DAEMON=man5/classes.conf.5 man5/cupsd.conf.5 man5/cups-files.conf.5 man5/cups-snmp.conf.5 man5/mailto.conf.5 man5/mime.types.5 man5/printers.conf.5 man7/backend.7 man8/cupsd.8
MANPAGES_L10N_CUPS_CLIENT=man1/cupstestppd.1 man1/cupstestdsc.1 man1/ippfind.1 man1/ipptool.1 man1/lp.1 man1/lpoptions.1 man1/lppasswd.1 man1/lpstat.1 man1/cancel.1 man5/client.conf.5 man5/ipptoolfile.5 man8/cupsaddsmb.8 man8/cupsenable.8 man8/lpadmin.8 man8/lpinfo.8 man8/lpmove.8 man8/cupsreject.8 man8/cupsdisable.8 man8/cupsaccept.8 man8/cupsctl.8
+MANPAGES_L10N_CUPS_BSD=man1/lpr.1 man1/lprm.1 man1/lpq.1 man8/lpc.8
override_dh_install:
ifeq ($(derives_from_ubuntu),yes)
@@ -118,6 +119,12 @@ endif
install -D -m 644 $$manp $$(echo $$manp | sed -e 's#^debian/tmp#debian/cups-client#');\
done; \
done
+ # Try to install the translated manpages to cups-bsd
+ set -e; for m in $(MANPAGES_L10N_CUPS_BSD); do \
+ for manp in $$(ls debian/tmp/usr/share/man/*/$$m.gz); do \
+ install -D -m 644 $$manp $$(echo $$manp | sed -e 's#^debian/tmp#debian/cups-bsd#');\
+ done; \
+ done
override_dh_installchangelogs:
dh_installchangelogs CHANGES.txt