# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+APPNAME := zouba
+builddir:
+ mkdir -p builddir
-
-
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- # Add here commands to configure the package.
-
- qmake
- touch configure-stamp
+builddir/Makefile: builddir
+ cd builddir && qmake-qt4 PREFIX=/usr ../$(APPNAME).pro
build: build-stamp
-build-stamp: configure-stamp
+build-stamp: builddir/Makefile
dh_testdir
# Add here commands to compile the package.
- $(MAKE)
- #docbook-to-man debian/zouba.sgml > zouba.1
+ cd builddir && $(MAKE)
touch $@
clean:
dh_testdir
dh_testroot
- rm -f build-stamp configure-stamp
+ rm -f build-stamp
# Add here commands to clean up after the build process.
- -$(MAKE) clean
+ rm -rf builddir
dh_clean
dh_installdirs
# Add here commands to install the package into debian/zouba.
- $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/zouba install
+ cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install
# Build architecture-independent files here.
binary-arch: build install
dh_testdir
dh_testroot
- dh_installchangelogs
+# dh_installchangelogs
dh_installdocs
dh_installexamples
# dh_install
# dh_installmenu
-# dh_installdebconf
+# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installinfo
dh_installman
dh_link
- dh_strip
+# dh_strip
dh_compress
dh_fixperms
# dh_perl