#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/quilt/quilt.make build: build-stamp build-stamp: $(QUILT_STAMPFN) dh_testdir qmake-qt4 && $(MAKE) touch $@ clean: unpatch dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || $(MAKE) distclean dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/kscope install install -D -p -m 0644 debian/kscope.desktop \ $(CURDIR)/debian/kscope/usr/share/applications/kscope.desktop install -D -p -m 0644 app/images/kscope.png \ $(CURDIR)/debian/kscope/usr/share/icons/hicolor/32x32/apps/kscope.png rm -f $(CURDIR)/debian/kscope/usr/lib/*.so # Build architecture-independent files here. binary-indep: install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: install dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples # dh_install dh_installman dh_link dh_strip dh_compress dh_fixperms dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install