| Revision 5498,
1.2 KB
checked in by alanbach-guest, 4 years ago
(diff) |
|
[svn-inject] Applying Debian modifications to trunk
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | #!/usr/bin/make -f |
|---|
| 2 | |
|---|
| 3 | # Uncomment this to turn on verbose mode. |
|---|
| 4 | #export DH_VERBOSE=1 |
|---|
| 5 | |
|---|
| 6 | include /usr/share/quilt/quilt.make |
|---|
| 7 | |
|---|
| 8 | build: build-stamp |
|---|
| 9 | build-stamp: $(QUILT_STAMPFN) |
|---|
| 10 | dh_testdir |
|---|
| 11 | touch $@ |
|---|
| 12 | |
|---|
| 13 | clean: unpatch |
|---|
| 14 | dh_testdir |
|---|
| 15 | dh_testroot |
|---|
| 16 | dh_clean build-stamp install-stamp |
|---|
| 17 | dh_clean tools/bin2h |
|---|
| 18 | |
|---|
| 19 | install: build install-stamp |
|---|
| 20 | install-stamp: |
|---|
| 21 | dh_testdir |
|---|
| 22 | dh_testroot |
|---|
| 23 | dh_clean -k |
|---|
| 24 | |
|---|
| 25 | install -D -m 0755 debian/rules.modules \ |
|---|
| 26 | debian/tmp/modules/rt2860/debian/rules |
|---|
| 27 | |
|---|
| 28 | for f in *.modules.in control compat copyright changelog; do \ |
|---|
| 29 | install -m 0644 debian/$$f \ |
|---|
| 30 | debian/tmp/modules/rt2860/debian/; \ |
|---|
| 31 | done |
|---|
| 32 | |
|---|
| 33 | find . -path ./debian/\* -type d -prune -o -printf "%P\n" | \ |
|---|
| 34 | egrep -v 'debian|contrib|regression|.svn' | \ |
|---|
| 35 | cpio -admp debian/tmp/modules/rt2860/ |
|---|
| 36 | |
|---|
| 37 | mkdir -p debian/rt2860-source/usr/src/ |
|---|
| 38 | tar jcf debian/rt2860-source/usr/src/rt2860.tar.bz2 \ |
|---|
| 39 | -C debian/tmp modules |
|---|
| 40 | |
|---|
| 41 | touch $@ |
|---|
| 42 | |
|---|
| 43 | binary-arch: |
|---|
| 44 | # We have nothing to do by default. |
|---|
| 45 | |
|---|
| 46 | binary-indep: build install |
|---|
| 47 | dh_testdir |
|---|
| 48 | dh_testroot |
|---|
| 49 | dh_install |
|---|
| 50 | dh_installdocs |
|---|
| 51 | dh_installchangelogs |
|---|
| 52 | dh_link |
|---|
| 53 | dh_compress |
|---|
| 54 | dh_fixperms |
|---|
| 55 | dh_installdeb |
|---|
| 56 | dh_gencontrol |
|---|
| 57 | dh_md5sums |
|---|
| 58 | dh_builddeb |
|---|
| 59 | |
|---|
| 60 | binary: binary-indep binary-arch |
|---|
| 61 | .PHONY: build clean install binary-indep binary-arch binary |
|---|
| 62 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.