source: pkg/raul/main/distro-defaults/trunk/debian/rules @ 7145

Revision 7145, 737 bytes checked in by alanbach-guest, 2 years ago (diff)
  • Updated debian/control and new debian/rules
Line 
1#!/usr/bin/make -f
2
3CFLAGS = -Wall -g
4
5ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
6        CFLAGS += -O0
7else
8        CFLAGS += -O2
9endif
10
11configure: configure-stamp
12configure-stamp:
13        dh_testdir
14        touch configure-stamp
15
16build: build-stamp
17
18build-stamp: configure-stamp
19        dh_testdir
20        touch $@
21
22clean::
23        dh_testdir
24        dh_testroot
25        rm -f build-stamp configure-stamp
26
27        dh_clean
28
29install: build
30        dh_testdir
31        dh_testroot
32        dh_clean -k
33        dh_installdirs
34
35binary-arch: binary-indep
36
37# Build architecture-independent files here.
38binary-indep: build install
39        dh_testdir
40        dh_testroot
41        dh_strip
42        dh_compress
43        dh_fixperms
44        dh_shlibdeps
45        dh_gencontrol -isp
46        dh_md5sums
47        dh_builddeb
48
49binary: binary-indep
50.PHONY: build clean binary-indep binary install configure
51
Note: See TracBrowser for help on using the repository browser.