|
Revision ,422, 0.8 KB
(checked in by fidojones, 14 months ago)
|
|
preparación de paquete debian
|
-
Property executable set to
True
|
| Line | |
|---|
| 1 | #!/usr/bin/make -f |
|---|
| 2 | |
|---|
| 3 | # Uncomment this to turn on verbose mode. |
|---|
| 4 | #export DH_VERBOSE=1 |
|---|
| 5 | |
|---|
| 6 | build: build-stamp |
|---|
| 7 | |
|---|
| 8 | build-stamp: |
|---|
| 9 | dh_testdir |
|---|
| 10 | |
|---|
| 11 | $(MAKE) |
|---|
| 12 | |
|---|
| 13 | touch build-stamp |
|---|
| 14 | |
|---|
| 15 | clean: |
|---|
| 16 | dh_testdir |
|---|
| 17 | dh_testroot |
|---|
| 18 | rm -f build-stamp configure-stamp |
|---|
| 19 | |
|---|
| 20 | -$(MAKE) clean |
|---|
| 21 | |
|---|
| 22 | dh_clean |
|---|
| 23 | |
|---|
| 24 | install: build |
|---|
| 25 | dh_testdir |
|---|
| 26 | dh_testroot |
|---|
| 27 | dh_clean -k |
|---|
| 28 | dh_installdirs |
|---|
| 29 | |
|---|
| 30 | $(MAKE) install DESTDIR=$(CURDIR)/debian/baifox |
|---|
| 31 | |
|---|
| 32 | # Build architecture-independent files here. |
|---|
| 33 | binary-indep: build install |
|---|
| 34 | dh_testdir |
|---|
| 35 | dh_testroot |
|---|
| 36 | dh_installchangelogs |
|---|
| 37 | dh_installdocs |
|---|
| 38 | dh_link |
|---|
| 39 | dh_strip |
|---|
| 40 | dh_compress |
|---|
| 41 | dh_fixperms |
|---|
| 42 | dh_installdeb |
|---|
| 43 | dh_shlibdeps |
|---|
| 44 | dh_gencontrol |
|---|
| 45 | dh_md5sums |
|---|
| 46 | dh_builddeb |
|---|
| 47 | |
|---|
| 48 | # Build architecture-dependent files here. |
|---|
| 49 | binary-arch: build install |
|---|
| 50 | # nothing to do here |
|---|
| 51 | |
|---|
| 52 | binary: binary-indep binary-arch |
|---|
| 53 | .PHONY: build clean binary-indep binary-arch binary install |
|---|