4 |
# Uncomment this to turn on verbose mode. |
# Uncomment this to turn on verbose mode. |
5 |
#export DH_VERBOSE=1 |
#export DH_VERBOSE=1 |
6 |
|
|
7 |
export QT_SELECT=5 |
# This is the debhelper compatibility version to use. |
8 |
|
#export DH_COMPAT=4 |
|
|
|
|
CFLAGS = -Wall -g |
|
|
|
|
|
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
|
|
CFLAGS += -O0 |
|
|
else |
|
|
CFLAGS += -O2 |
|
|
endif |
|
9 |
|
|
10 |
configure: configure-stamp |
configure: configure-stamp |
11 |
configure-stamp: |
configure-stamp: |
12 |
dh_testdir |
dh_testdir |
13 |
|
|
14 |
# Add here commands to configure the package. |
# Add here commands to configure the package. |
15 |
-$(MAKE) -f Makefile.git |
./autogen.sh |
16 |
|
|
17 |
./configure --prefix=/usr |
./configure --prefix=/usr |
18 |
touch configure-stamp |
# --- end custom part for configure |
19 |
|
|
20 |
|
touch configure-stamp |
21 |
|
|
22 |
build: build-stamp |
build: build-stamp |
23 |
|
build-stamp: configure-stamp |
|
build-stamp: configure-stamp |
|
24 |
dh_testdir |
dh_testdir |
25 |
|
|
26 |
# Add here commands to compile the package. |
# Add here commands to compile the package. |
27 |
$(MAKE) |
$(MAKE) |
28 |
|
# --- end custom part for compiling |
29 |
|
|
30 |
#docbook-to-man debian/$(APPNAME).sgml > $(APPNAME).1 |
touch build-stamp |
|
|
|
|
touch $@ |
|
31 |
|
|
32 |
clean: |
clean: |
33 |
dh_testdir |
dh_testdir |
35 |
rm -f build-stamp configure-stamp |
rm -f build-stamp configure-stamp |
36 |
|
|
37 |
# Add here commands to clean up after the build process. |
# Add here commands to clean up after the build process. |
38 |
-$(MAKE) -f Makefile.git clean |
./autogen.sh clean |
39 |
|
# --- end custom part for cleaning up |
40 |
|
|
41 |
dh_clean |
dh_clean |
42 |
|
|
47 |
dh_installdirs |
dh_installdirs |
48 |
|
|
49 |
# Add here commands to install the package |
# Add here commands to install the package |
50 |
$(MAKE) DESTDIR=$(CURDIR)/debian/$(APPNAME) install |
$(MAKE) install DESTDIR=$(CURDIR)/debian/$(APPNAME) |
51 |
|
# --- end custom part for installing |
52 |
|
|
53 |
# Build architecture-independent files here. |
# Build architecture-independent files here. |
54 |
binary-indep: build install |
binary-indep: build install |
55 |
# We have nothing to do by default. |
# We have nothing to do by default. |
56 |
|
|
57 |
# Build architecture-dependent files here. |
# Build architecture-dependent files here. |
58 |
binary-arch: build install |
binary-arch: build install |
59 |
dh_testdir |
dh_testdir |
60 |
dh_testroot |
dh_testroot |
61 |
dh_installchangelogs ChangeLog |
# dh_installdebconf |
62 |
dh_installdocs |
dh_installdocs |
63 |
dh_installexamples |
dh_installexamples |
64 |
dh_install |
dh_installmenu |
|
# dh_installmenu |
|
|
# dh_installdebconf |
|
65 |
# dh_installlogrotate |
# dh_installlogrotate |
66 |
# dh_installemacsen |
# dh_installemacsen |
67 |
# dh_installpam |
# dh_installpam |
68 |
# dh_installmime |
# dh_installmime |
|
# dh_python |
|
69 |
# dh_installinit |
# dh_installinit |
70 |
# dh_installcron |
dh_installcron |
|
# dh_installinfo |
|
71 |
dh_installman |
dh_installman |
72 |
|
dh_installinfo |
73 |
|
# dh_undocumented |
74 |
|
dh_installchangelogs |
75 |
dh_link |
dh_link |
76 |
dh_strip |
dh_strip |
77 |
dh_compress |
dh_compress |
78 |
dh_fixperms |
dh_fixperms |
|
# dh_perl |
|
79 |
# dh_makeshlibs |
# dh_makeshlibs |
80 |
dh_installdeb |
dh_installdeb |
81 |
|
# dh_perl |
82 |
dh_shlibdeps |
dh_shlibdeps |
83 |
dh_gencontrol |
dh_gencontrol |
84 |
dh_md5sums |
dh_md5sums |