OBS: looks like they don't support reasonable overrides in there
[trojita.git] / packaging / obs-trojita-nightly / debian.rules
blob2d2f1d0ae963d3ef0140537e73c0fc04cb81a555
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11 MAKE=qmake
16 configure: configure-stamp
17 configure-stamp:
18 dh_testdir
19 #tar -xjvf *.tar.bz2
20 #cd trojita-* &&
21 qmake CONFIG+=debug PREFIX=/usr # Uncomment this line for use without Qt Creator
22 touch configure-stamp
25 build: build-stamp
27 build-stamp: configure-stamp
28 dh_testdir
29 # Add here commands to compile the package.
31 #cd trojita-* &&
33 qmake && make # Uncomment this line for use without Qt Creator
34 #docbook-to-man debian/trojita-tp.sgml > trojita-tp.1
35 touch $@
37 clean:
38 dh_testdir
39 dh_testroot
40 rm -f build-stamp configure-stamp
41 # Add here commands to clean up after the build process.
42 #make clean
43 dh_clean
45 install: build
46 xvfb-run -a dh_auto_test
47 dh_testdir
48 dh_testroot
49 dh_clean -k
50 dh_installdirs
51 # Add here commands to install the package into debian/trojita-tp.
52 #cd trojita-* &&
54 mkdir -p $(CURDIR)/debian/tmp
55 #make INSTALL_ROOT=$(CURDIR)/debian/tmp install
56 make INSTALL_ROOT=$(CURDIR)/debian/tmp install
57 mv $(CURDIR)/debian/tmp/usr/local/* $(CURDIR)/debian/tmp/usr/
58 rmdir $(CURDIR)/debian/tmp/usr/local
59 #cp -rv $(CURDIR)/trojitabuild/* $(CURDIR)/debian/tmp/
62 # Build architecture-independent files here.
63 binary-indep: build install
64 # We have nothing to do by default.
66 # Build architecture-dependent files here.
67 binary-arch: build install
68 dh_testdir
69 dh_testroot
70 # dh_installchangelogs
71 # dh_installdocs
72 # dh_installexamples
73 dh_install
74 # dh_installmenu
75 # dh_installdebconf
76 # dh_installlogrotate
77 # dh_installemacsen
78 # dh_installpam
79 # dh_installmime
80 # dh_python
81 # dh_installinit
82 # dh_installcron
83 # dh_installinfo
84 dh_installman
85 dh_link
86 dh_strip
87 dh_compress
88 dh_fixperms
89 # dh_perl
90 # dh_makeshlibs
91 dh_installdeb
92 dh_shlibdeps # Uncomment this line for use without Qt Creator
93 dh_gencontrol
94 dh_md5sums
95 dh_builddeb
97 binary: binary-indep binary-arch
98 .PHONY: build clean binary-indep binary-arch binary install configure