2013-04-01 21:23:32 +02:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
2013-07-12 11:36:28 +02:00
|
|
|
APP=pybitmessage
|
2013-07-23 17:04:44 +02:00
|
|
|
PREFIX=/usr
|
2013-07-12 11:36:28 +02:00
|
|
|
build: build-stamp
|
2013-04-01 21:23:32 +02:00
|
|
|
make
|
2013-06-30 17:16:41 +02:00
|
|
|
build-arch: build-stamp
|
|
|
|
build-indep: build-stamp
|
2013-04-01 21:23:32 +02:00
|
|
|
build-stamp:
|
2013-07-12 11:36:28 +02:00
|
|
|
dh_testdir
|
|
|
|
touch build-stamp
|
2013-04-01 21:23:32 +02:00
|
|
|
|
2013-07-12 11:36:28 +02:00
|
|
|
clean:
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
rm -f build-stamp
|
|
|
|
dh_clean
|
2013-04-01 21:23:32 +02:00
|
|
|
|
2013-07-12 11:36:28 +02:00
|
|
|
install: build clean
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_prep
|
|
|
|
dh_installdirs
|
2013-07-23 17:04:44 +02:00
|
|
|
${MAKE} install -B DESTDIR=${CURDIR}/debian/${APP} PREFIX=/usr
|
2013-04-01 21:23:32 +02:00
|
|
|
binary-indep: build install
|
2013-07-12 11:36:28 +02:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_installchangelogs
|
|
|
|
dh_installdocs
|
|
|
|
dh_installexamples
|
|
|
|
dh_installman
|
|
|
|
dh_link
|
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
dh_installdeb
|
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
|
|
|
|
2013-04-01 21:23:32 +02:00
|
|
|
binary-arch: build install
|
2013-07-12 11:36:28 +02:00
|
|
|
|
2013-06-30 17:16:41 +02:00
|
|
|
binary: binary-indep binary-arch
|
2013-07-12 11:36:28 +02:00
|
|
|
.PHONY: build clean binary-indep binary-arch binary install
|