| 1 |
wbaer-guest |
1507 |
#!/usr/bin/make -f |
| 2 |
|
|
# Sample debian/rules that uses debhelper. |
| 3 |
|
|
# GNU copyright 1997 to 1999 by Joey Hess. |
| 4 |
|
|
|
| 5 |
|
|
# Uncomment this to turn on verbose mode. |
| 6 |
|
|
#export DH_VERBOSE=1 |
| 7 |
|
|
|
| 8 |
|
|
export JAVA_HOME=/usr/lib/kaffe |
| 9 |
|
|
|
| 10 |
|
|
configure: configure-stamp |
| 11 |
|
|
configure-stamp: |
| 12 |
|
|
dh_testdir |
| 13 |
wbaer-guest |
1840 |
./configure --disable-rpath --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info |
| 14 |
wbaer-guest |
1507 |
touch configure-stamp |
| 15 |
|
|
|
| 16 |
|
|
|
| 17 |
|
|
build: patch configure-stamp build-stamp |
| 18 |
|
|
build-stamp: |
| 19 |
|
|
dh_testdir |
| 20 |
|
|
$(MAKE) |
| 21 |
|
|
touch build-stamp |
| 22 |
|
|
|
| 23 |
|
|
|
| 24 |
|
|
clean: clean-patched unpatch |
| 25 |
|
|
clean-patched: |
| 26 |
|
|
dh_testdir |
| 27 |
|
|
dh_testroot |
| 28 |
|
|
-$(MAKE) distclean |
| 29 |
|
|
rm -f config.log build-stamp configure-stamp jmp/JMPController.class |
| 30 |
|
|
dh_clean |
| 31 |
|
|
|
| 32 |
|
|
|
| 33 |
|
|
install: build |
| 34 |
|
|
dh_testdir |
| 35 |
|
|
dh_testroot |
| 36 |
|
|
dh_clean -k |
| 37 |
|
|
dh_installdirs |
| 38 |
|
|
# Add here commands to install the package into debian/jmp. |
| 39 |
wbaer-guest |
1840 |
$(MAKE) install DESTDIR=$(CURDIR)/debian/jmp |
| 40 |
|
|
# remove rpath |
| 41 |
|
|
chrpath -d debian/jmp/usr/lib/libjmp.so.0.0.1 |
| 42 |
wbaer-guest |
1507 |
# install lintian overrides |
| 43 |
|
|
install -d $(CURDIR)/debian/jmp/usr/share/lintian/overrides/ |
| 44 |
|
|
install -m 644 $(CURDIR)/debian/lintian $(CURDIR)/debian/jmp/usr/share/lintian/overrides/jmp |
| 45 |
|
|
|
| 46 |
|
|
patch: patch-stamp |
| 47 |
|
|
patch-stamp: |
| 48 |
|
|
dpatch apply-all |
| 49 |
|
|
touch patch-stamp |
| 50 |
|
|
|
| 51 |
|
|
|
| 52 |
|
|
unpatch: |
| 53 |
|
|
dpatch deapply-all |
| 54 |
|
|
rm -rf patch-stamp debian/patched |
| 55 |
|
|
|
| 56 |
|
|
|
| 57 |
|
|
# Build architecture-independent files here. |
| 58 |
|
|
binary-indep: build install |
| 59 |
|
|
# We have nothing to do by default. |
| 60 |
|
|
|
| 61 |
|
|
# Build architecture-dependent files here. |
| 62 |
|
|
binary-arch: build install |
| 63 |
|
|
dh_testdir |
| 64 |
|
|
dh_testroot |
| 65 |
|
|
dh_installdocs |
| 66 |
|
|
dh_installchangelogs ChangeLog |
| 67 |
|
|
dh_installman |
| 68 |
|
|
dh_strip |
| 69 |
|
|
dh_compress |
| 70 |
|
|
dh_fixperms |
| 71 |
|
|
dh_makeshlibs |
| 72 |
|
|
dh_installdeb |
| 73 |
|
|
dh_shlibdeps |
| 74 |
|
|
dh_gencontrol |
| 75 |
|
|
dh_md5sums |
| 76 |
|
|
dh_builddeb |
| 77 |
|
|
|
| 78 |
|
|
binary: binary-indep binary-arch |
| 79 |
|
|
.PHONY: build clean binary-indep binary-arch binary install configure |