source: subversion/applications/editors/merkaartor/debian/rules @ 13736

Last change on this file since 13736 was 12919, checked in by joerg, 11 years ago

debian/rules: Reflect build change to get the binary for package building from the right place again. Get binary from binaries/debug/bin/merkaartor

File size: 980 bytes
Line 
1#!/usr/bin/make -f
2
3CFLAGS = -Wall -g
4ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
5        CFLAGS += -O0
6else
7        CFLAGS += -O2
8endif
9
10configure: configure-stamp
11configure-stamp: clean
12        dh_testdir
13        /usr/share/qt4/bin/qmake
14        touch configure-stamp
15
16build-indep:
17
18build build-arch: build-stamp
19build-stamp: configure-stamp
20        dh_testdir
21        $(MAKE)
22        touch $@
23
24clean:
25        dh_testdir
26        dh_testroot
27        [ ! -f Makefile ] || $(MAKE) distclean
28        dh_clean
29        rm -f build-stamp configure-stamp
30
31install: build
32        dh_testdir
33        dh_testroot
34        dh_clean -k
35        dh_installdirs
36        install -D binaries/debug/bin/merkaartor $(CURDIR)/debian/merkaartor/usr/bin
37
38binary-indep:
39binary binary-arch: install
40        dh_installchangelogs CHANGELOG
41        dh_installdocs
42        dh_installexamples Data/*
43        dh_installmenu
44        dh_installman debian/merkaartor.1
45        dh_strip
46        dh_compress
47        dh_fixperms
48        dh_installdeb
49        dh_shlibdeps
50        dh_gencontrol
51        dh_md5sums
52        dh_builddeb
53
54.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install configure
Note: See TracBrowser for help on using the repository browser.