| 1 |
#!/usr/bin/make -f |
| 2 |
# Sample debian/rules that uses debhelper. |
| 3 |
# GNU copyright 1997 to 1999 by Joey Hess. |
| 4 |
|
| 5 |
# Uncomment this to turn on verbose mode. |
| 6 |
#export DH_VERBOSE=1 |
| 7 |
|
| 8 |
|
| 9 |
clean: |
| 10 |
dh_testdir |
| 11 |
dh_testroot |
| 12 |
# rm -fv *.ascii *.iso3 debian/*.ascii debian/*.iso3 |
| 13 |
rm -fv *.u8 |
| 14 |
dh_clean |
| 15 |
|
| 16 |
install: build |
| 17 |
dh_testdir |
| 18 |
dh_testroot |
| 19 |
dh_prep |
| 20 |
dh_installdirs |
| 21 |
|
| 22 |
# Add here commands to install the package into debian/fortunes-eo. |
| 23 |
#$(MAKE) install DESTDIR=$(CURDIR)/debian/fortunes-eo |
| 24 |
|
| 25 |
cat proverbaro > $(CURDIR)/debian/fortunes-eo/usr/share/games/fortunes/eo/proverbaro |
| 26 |
(cd $(CURDIR)/debian/fortunes-eo/usr/share/games/fortunes/eo/; strfile proverbaro) |
| 27 |
(cd $(CURDIR)/debian/fortunes-eo/usr/share/games/fortunes/eo/; ln -s proverbaro proverbaro.u8) |
| 28 |
|
| 29 |
|
| 30 |
# cat proverbaro | konwert utf8-ascii > $(CURDIR)/debian/fortunes-eo-ascii/usr/share/games/fortunes/eo-ascii/proverbaro |
| 31 |
# (cd $(CURDIR)/debian/fortunes-eo-ascii/usr/share/games/fortunes/eo-ascii/; strfile proverbaro) |
| 32 |
|
| 33 |
# cat proverbaro |konwert utf8-iso3 > $(CURDIR)/debian/fortunes-eo-iso3/usr/share/games/fortunes/eo-iso3/proverbaro |
| 34 |
# (cd $(CURDIR)/debian/fortunes-eo-iso3/usr/share/games/fortunes/eo-iso3/; strfile proverbaro) |
| 35 |
|
| 36 |
# cat debian/README.Debian | konwert UTF8-ascii > debian/README.Debian.ascii |
| 37 |
# cat debian/README.Debian | konwert UTF8-iso3 > debian/README.Debian.iso3 |
| 38 |
# cat KOPIADO | konwert UTF8-ascii > KOPIADO.ascii |
| 39 |
# cat KOPIADO | konwert UTF8-iso3 > KOPIADO.iso3 |
| 40 |
|
| 41 |
|
| 42 |
build: build-arch build-indep |
| 43 |
build-arch: build-stamp |
| 44 |
build-indep: build-stamp |
| 45 |
build-stamp: |
| 46 |
# nothing to do |
| 47 |
|
| 48 |
|
| 49 |
# Build architecture-dependent files here. |
| 50 |
binary-arch: install |
| 51 |
# We have nothing to do by default. |
| 52 |
|
| 53 |
# Build architecture-independent files here. |
| 54 |
binary-arch: install |
| 55 |
# We have nothing to do by default. |
| 56 |
|
| 57 |
# Build architecture-dependent files here. |
| 58 |
binary-indep: build install |
| 59 |
dh_testdir |
| 60 |
dh_testroot |
| 61 |
# dh_installdebconf |
| 62 |
dh_installdocs |
| 63 |
# dh_installexamples |
| 64 |
# dh_installmenu |
| 65 |
# dh_installlogrotate |
| 66 |
# dh_installemacsen |
| 67 |
# dh_installpam |
| 68 |
# dh_installmime |
| 69 |
# dh_installinit |
| 70 |
# dh_installcron |
| 71 |
# dh_installman |
| 72 |
# dh_installinfo |
| 73 |
# dh_undocumented |
| 74 |
dh_installchangelogs |
| 75 |
dh_link |
| 76 |
# dh_strip |
| 77 |
dh_compress |
| 78 |
dh_fixperms |
| 79 |
# dh_makeshlibs |
| 80 |
dh_installdeb |
| 81 |
# dh_perl |
| 82 |
dh_shlibdeps |
| 83 |
dh_gencontrol |
| 84 |
dh_md5sums |
| 85 |
dh_builddeb |
| 86 |
|
| 87 |
binary: binary-indep binary-arch |
| 88 |
.PHONY: build clean binary-indep binary-arch binary install configure |