| 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 | |
|---|
| 3 | CFLAGS = -Wall -g |
|---|
| 4 | |
|---|
| 5 | ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
|---|
| 6 | CFLAGS += -O0 |
|---|
| 7 | else |
|---|
| 8 | CFLAGS += -O2 |
|---|
| 9 | endif |
|---|
| 10 | |
|---|
| 11 | configure: configure-stamp |
|---|
| 12 | configure-stamp: |
|---|
| 13 | dh_testdir |
|---|
| 14 | touch configure-stamp |
|---|
| 15 | |
|---|
| 16 | build: build-stamp |
|---|
| 17 | |
|---|
| 18 | build-stamp: configure-stamp |
|---|
| 19 | dh_testdir |
|---|
| 20 | touch $@ |
|---|
| 21 | |
|---|
| 22 | clean:: |
|---|
| 23 | dh_testdir |
|---|
| 24 | dh_testroot |
|---|
| 25 | rm -f build-stamp configure-stamp |
|---|
| 26 | |
|---|
| 27 | dh_clean |
|---|
| 28 | |
|---|
| 29 | install: build |
|---|
| 30 | dh_testdir |
|---|
| 31 | dh_testroot |
|---|
| 32 | dh_clean -k |
|---|
| 33 | dh_installdirs |
|---|
| 34 | |
|---|
| 35 | binary-arch: binary-indep |
|---|
| 36 | |
|---|
| 37 | # Build architecture-independent files here. |
|---|
| 38 | binary-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 | |
|---|
| 49 | binary: binary-indep |
|---|
| 50 | .PHONY: build clean binary-indep binary install configure |
|---|
| 51 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.