3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
9 # Uncomment this to turn on verbose mode.
17 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
23 configure: configure-stamp
26 # Add here commands to configure the package.
28 /usr/bin/msgfmt -o en.mo en.po
29 /usr/bin/msgfmt -o nl_NL.mo nl_NL.po
30 /usr/bin/msgfmt -o de_DE.mo de_DE.po
31 /usr/bin/msgfmt -o zh_HK.mo zh_HK.po
32 /usr/bin/msgfmt -o zh_CN.mo zh_CN.po
33 /usr/bin/msgfmt -o ru_RU.mo ru_RU.po
34 /usr/bin/msgfmt -o ko_KR.mo ko_KR.po
35 /usr/bin/msgfmt -o zh_TW.mo zh_TW.po
36 /usr/bin/msgfmt -o ja_JP.mo ja_JP.po
37 /usr/bin/msgfmt -o es_ES.mo es_ES.po
38 /usr/bin/msgfmt -o el_GR.mo el_GR.po
39 /usr/bin/msgfmt -o it_IT.mo it_IT.po
40 /usr/bin/msgfmt -o tr_TR.mo tr_TR.po
41 /usr/bin/msgfmt -o pt_PT.mo pt_PT.po
42 /usr/bin/msgfmt -o fr_FR.mo fr_FR.po
49 build-stamp: configure-stamp
52 # Add here commands to compile the package.
54 #docbook-to-man debian/sys-string.sgml > sys-string.1
61 rm -f build-stamp configure-stamp
63 # Add here commands to clean up after the build process.
74 # Add here commands to install the package into debian/sys-string.
75 # $(MAKE) DESTDIR=$(CURDIR)/debian/sys-string install
77 mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/en/LC_MESSAGES/
78 mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/nl_NL/LC_MESSAGES/
79 mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/de_DE/LC_MESSAGES/
80 mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/zh_HK/LC_MESSAGES/
81 mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/zh_CN/LC_MESSAGES/
82 mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/ru_RU/LC_MESSAGES/
83 mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/ko_KR/LC_MESSAGES/
84 mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/zh_TW/LC_MESSAGES/
85 mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/ja_JP/LC_MESSAGES/
86 mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/es_ES/LC_MESSAGES/
87 mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/el_GR/LC_MESSAGES/
88 mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/it_IT/LC_MESSAGES/
89 mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/tr_TR/LC_MESSAGES/
90 mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/pt_PT/LC_MESSAGES/
91 mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/fr_FR/LC_MESSAGES/
93 cp $(CURDIR)/en.mo $(CURDIR)/debian/tmp/usr/share/locale/en/LC_MESSAGES/sys_string.mo
94 cp $(CURDIR)/nl_NL.mo $(CURDIR)/debian/tmp/usr/share/locale/nl_NL/LC_MESSAGES/sys_string.mo
95 cp $(CURDIR)/de_DE.mo $(CURDIR)/debian/tmp/usr/share/locale/de_DE/LC_MESSAGES/sys_string.mo
96 cp $(CURDIR)/zh_HK.mo $(CURDIR)/debian/tmp/usr/share/locale/zh_HK/LC_MESSAGES/sys_string.mo
97 cp $(CURDIR)/zh_CN.mo $(CURDIR)/debian/tmp/usr/share/locale/zh_CN/LC_MESSAGES/sys_string.mo
98 cp $(CURDIR)/ru_RU.mo $(CURDIR)/debian/tmp/usr/share/locale/ru_RU/LC_MESSAGES/sys_string.mo
99 cp $(CURDIR)/ko_KR.mo $(CURDIR)/debian/tmp/usr/share/locale/ko_KR/LC_MESSAGES/sys_string.mo
100 cp $(CURDIR)/zh_TW.mo $(CURDIR)/debian/tmp/usr/share/locale/zh_TW/LC_MESSAGES/sys_string.mo
101 cp $(CURDIR)/ja_JP.mo $(CURDIR)/debian/tmp/usr/share/locale/ja_JP/LC_MESSAGES/sys_string.mo
102 cp $(CURDIR)/es_ES.mo $(CURDIR)/debian/tmp/usr/share/locale/es_ES/LC_MESSAGES/sys_string.mo
103 cp $(CURDIR)/el_GR.mo $(CURDIR)/debian/tmp/usr/share/locale/el_GR/LC_MESSAGES/sys_string.mo
104 cp $(CURDIR)/it_IT.mo $(CURDIR)/debian/tmp/usr/share/locale/it_IT/LC_MESSAGES/sys_string.mo
105 cp $(CURDIR)/tr_TR.mo $(CURDIR)/debian/tmp/usr/share/locale/tr_TR/LC_MESSAGES/sys_string.mo
106 cp $(CURDIR)/pt_PT.mo $(CURDIR)/debian/tmp/usr/share/locale/pt_PT/LC_MESSAGES/sys_string.mo
107 cp $(CURDIR)/fr_FR.mo $(CURDIR)/debian/tmp/usr/share/locale/fr_FR/LC_MESSAGES/sys_string.mo
110 # Build architecture-independent files here.
111 binary-indep: build install
112 # We have nothing to do by default.
114 # Build architecture-dependent files here.
115 binary-arch: build install
121 dh_install --list-missing --sourcedir=debian/tmp
125 # dh_installlogrotate
146 binary: binary-indep binary-arch
147 .PHONY: build clean binary-indep binary-arch binary install configure