1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
#!/usr/bin/make -f
DESTDIR="$(CURDIR)/debian/rhinote"
BINDIR="$(DESTDIR)/usr/bin"
ICONDIR="$(DESTDIR)/usr/share/icons/hicolor"
build: build-arch build-indep
build-arch:
build-indep: build-indep-stamp
build-indep-stamp:
dh_testdir
pandoc -s -w man -o rhinote.1 debian/rhinote.1.text
touch $@
binary: binary-arch binary-indep
binary-arch: build-arch
binary-indep: build-indep
dh_testdir
dh_testroot
dh_prep
dh_install
mv "$(BINDIR)/rhinote.py" \
"$(BINDIR)/rhinote"
mv "$(ICONDIR)/32x32/apps/rhinote_32x32.png" \
"$(ICONDIR)/32x32/apps/rhinote.png"
mv "$(ICONDIR)/48x48/apps/rhinote_48x48.png" \
"$(ICONDIR)/48x48/apps/rhinote.png"
dh_installchangelogs
dh_installdocs
dh_installman
dh_installmenu
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
clean:
dh_testdir
dh_testroot
rm -f build-indep-stamp
dh_clean
.PHONY: build build-arch build-indep binary binary-arch binary-indep clean
|