X-Git-Url: http://git.maemo.org/git/?p=keepassx;a=blobdiff_plain;f=debian%2Frules;fp=debian%2Frules;h=0000000000000000000000000000000000000000;hp=898f867809f7345d703c52f6fb64a730d22b420e;hb=a5359e3664df4cbbafa128ae38ce243afeafa482;hpb=87c9641f355953cd47b86c465aff503f2f7b1b86 diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 898f867..0000000 --- a/debian/rules +++ /dev/null @@ -1,73 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -# Include dpatch stuff. -# include /usr/share/dpatch/dpatch.make - -CFLAGS = -Wall -g -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif - -build: patch build-stamp -build-stamp: - dh_testdir - #/opt/qt4-maemo5/bin/ - qmake-qt4 PREFIX=/usr QMAKE_CFLAGS_DEBUG="$(CFLAGS)" QMAKE_CXXFLAGS_DEBUG="$(CFLAGS)" DEBUG=1 - $(MAKE) - touch build-stamp - -clean: clean-patched unpatch -clean-patched: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - -$(MAKE) distclean - rm -rf src/Makefile Makefile - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - make INSTALL_ROOT=$(CURDIR)/debian/keepassx install - -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs changelog - dh_installdocs - dh_installexamples - dh_installman debian/keepass.1 - dh_desktop - dh_link - dh_strip - dh_compress - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -patch: patch-stamp - -patch-stamp: - dpatch apply-all - -unpatch: - dpatch deapply-all - rm -rf debian/patched - -binary: binary-indep binary-arch -.PHONY: build build-stamp clean clean-patched install binary-indep binary-arch binary patch patch-stamp unpatch binary