| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
export QT_SELECT=qt5 |
| 8 |
|
| 9 |
build: build-stamp |
| 10 |
build-stamp: |
| 11 |
dh_testdir |
| 12 |
./create_version_file.sh |
| 13 |
qtchooser -run-tool=lrelease -qt=qt5 tools.pro |
| 14 |
dh_auto_configure -- tools.pro |
| 15 |
$(MAKE) |
| 16 |
touch build-stamp |
| 17 |
|
| 18 |
clean: |
| 19 |
dh_testdir |
| 20 |
dh_testroot |
| 21 |
rm -f build-stamp |
| 22 |
|
| 23 |
dh_auto_configure -- toolsstatic.pro |
| 24 |
$(MAKE) clean |
| 25 |
dh_clean |
| 26 |
|
| 27 |
|
| 28 |
rm -f Makefile libguytools_version.pro.inc lib/libguytools* .qmake.stash |
| 29 |
rmdir lib || true |
| 30 |
|
| 31 |
install: build |
| 32 |
dh_testdir |
| 33 |
dh_testroot |
| 34 |
dh_prep |
| 35 |
dh_installdirs |
| 36 |
|
| 37 |
mkdir -p debian/tmp/usr/lib debian/tmp/usr/include/libguytools2 |
| 38 |
cp -d lib/libguytool* debian/tmp/usr/lib/ |
| 39 |
cp -R include/* debian/tmp/usr/include/libguytools2 |
| 40 |
|
| 41 |
binary-arch: build install |
| 42 |
dh_testdir |
| 43 |
dh_testroot |
| 44 |
dh_installdocs |
| 45 |
dh_installchangelogs |
| 46 |
dh_install --sourcedir=$(CURDIR)/debian/tmp --exclude=.svn |
| 47 |
dh_link |
| 48 |
dh_strip |
| 49 |
dh_compress |
| 50 |
dh_fixperms |
| 51 |
dh_makeshlibs -V |
| 52 |
dh_installdeb |
| 53 |
dh_shlibdeps |
| 54 |
dh_gencontrol |
| 55 |
dh_md5sums |
| 56 |
dh_builddeb |
| 57 |
|
| 58 |
binary-indep: build install |
| 59 |
|
| 60 |
binary: binary-indep binary-arch |
| 61 |
|
| 62 |
.PHONY: build clean binary-indep binary-arch binary install build-indep build-arch |
| 63 |
|
| 64 |
build-indep: |
| 65 |
|
| 66 |
build-arch: build |