|
Revision 1942, 1.6 kB
(checked in by ahodgkinson, 2 years ago)
|
|
digitalme: Added Debian package files provided by Quin.
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | export DH_COMPAT=4 |
|---|
| 10 | |
|---|
| 11 | CFLAGS = -g |
|---|
| 12 | ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
|---|
| 13 | CFLAGS += -O0 |
|---|
| 14 | else |
|---|
| 15 | CFLAGS += -O2 |
|---|
| 16 | endif |
|---|
| 17 | |
|---|
| 18 | build: build-stamp |
|---|
| 19 | build-stamp: |
|---|
| 20 | dh_testdir |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | ./configure |
|---|
| 24 | make all |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | touch build-stamp |
|---|
| 28 | |
|---|
| 29 | clean: |
|---|
| 30 | dh_testdir |
|---|
| 31 | dh_testroot |
|---|
| 32 | rm -f build-stamp |
|---|
| 33 | |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | dh_clean |
|---|
| 39 | |
|---|
| 40 | install: build |
|---|
| 41 | dh_testdir |
|---|
| 42 | dh_testroot |
|---|
| 43 | dh_clean -k |
|---|
| 44 | dh_installdirs |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | |
|---|
| 48 | make install DESTDIR=/usr/src/packages/BUILD/debian/digitalme |
|---|
| 49 | |
|---|
| 50 | |
|---|
| 51 | |
|---|
| 52 | binary-indep: build install |
|---|
| 53 | |
|---|
| 54 | |
|---|
| 55 | |
|---|
| 56 | binary-arch: build install |
|---|
| 57 | dh_testdir |
|---|
| 58 | dh_testroot |
|---|
| 59 | |
|---|
| 60 | dh_installdocs |
|---|
| 61 | dh_installexamples |
|---|
| 62 | dh_installmenu |
|---|
| 63 | |
|---|
| 64 | |
|---|
| 65 | |
|---|
| 66 | |
|---|
| 67 | |
|---|
| 68 | dh_installcron |
|---|
| 69 | dh_installman |
|---|
| 70 | dh_installinfo |
|---|
| 71 | |
|---|
| 72 | dh_installchangelogs |
|---|
| 73 | dh_link |
|---|
| 74 | dh_strip |
|---|
| 75 | dh_compress |
|---|
| 76 | dh_fixperms |
|---|
| 77 | |
|---|
| 78 | dh_installdeb |
|---|
| 79 | |
|---|
| 80 | |
|---|
| 81 | dh_gencontrol |
|---|
| 82 | dh_md5sums |
|---|
| 83 | dh_builddeb |
|---|
| 84 | |
|---|
| 85 | binary: binary-indep binary-arch |
|---|
| 86 | .PHONY: build clean binary-indep binary-arch binary install |
|---|