summaryrefslogtreecommitdiffstats
path: root/distributions/debian/desktop/rules
diff options
context:
space:
mode:
Diffstat (limited to 'distributions/debian/desktop/rules')
-rwxr-xr-xdistributions/debian/desktop/rules50
1 files changed, 0 insertions, 50 deletions
diff --git a/distributions/debian/desktop/rules b/distributions/debian/desktop/rules
deleted file mode 100755
index 525db8d..0000000
--- a/distributions/debian/desktop/rules
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/usr/bin/make -f
-
-clean: unpatch
- dh_testdir
- dh_testroot
- [ ! -f Makefile ] || $(MAKE) distclean
- dh_clean build-stamp install-stamp
-
-build: patch build-stamp
-build-stamp:
- dh_testdir
- $(MAKE) -C zlibrary/core TARGET_ARCH=desktop UI_TYPE=dummy
- $(MAKE) -C zlibrary/text TARGET_ARCH=desktop UI_TYPE=dummy
- $(MAKE) -C zlibrary/ui TARGET_ARCH=desktop UI_TYPE=qt4
- $(MAKE) -C fbreader TARGET_ARCH=desktop UI_TYPE=dummy
- touch build-stamp
-
-install: DEB_DIR = $(CURDIR)/debian
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- $(MAKE) -C zlibrary/core TARGET_ARCH=desktop UI_TYPE=dummy DESTDIR=$(DEB_DIR)/fbreader do_install
- $(MAKE) -C zlibrary/text TARGET_ARCH=desktop UI_TYPE=dummy DESTDIR=$(DEB_DIR)/fbreader do_install
- $(MAKE) -C zlibrary/ui TARGET_ARCH=desktop UI_TYPE=qt4 DESTDIR=$(DEB_DIR)/fbreader do_install
- $(MAKE) -C fbreader TARGET_ARCH=desktop UI_TYPE=dummy DESTDIR=$(DEB_DIR)/fbreader do_install
- touch install-stamp
-
-binary-arch: VERSION=$(shell expr "`dpkg-parsechangelog |grep Version:`" : '.*Version: \(.*\)')
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_desktop
- dh_installmenu
- dh_installdocs
- dh_installman fbreader/desktop/FBReader.1
- dh_installchangelogs
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps -l debian/libzlcore/usr/lib:debian/libzltext/usr/lib
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-arch
-
-include /usr/share/quilt/quilt.make