|
Revision 782, 1.3 kB
(checked in by takkaria, 6 months ago)
|
Add the basics of a debian package to SVN. This works OK but is far from being distributable.£
|
- Property svn:executable set to
*
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
export DH_VERBOSE=1 |
|---|
| 4 |
|
|---|
| 5 |
build: build-stamp |
|---|
| 6 |
build-stamp: |
|---|
| 7 |
dh_testdir |
|---|
| 8 |
./configure --prefix=/usr --mandir=\$${prefix}/share/man \ |
|---|
| 9 |
CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" \ |
|---|
| 10 |
--disable-x11 --enable-sdl --enable-sdl-mixer \ |
|---|
| 11 |
--disable-gtk --with-private-dirs |
|---|
| 12 |
$(MAKE) |
|---|
| 13 |
touch $@ |
|---|
| 14 |
|
|---|
| 15 |
clean: |
|---|
| 16 |
dh_testdir |
|---|
| 17 |
dh_testroot |
|---|
| 18 |
$(MAKE) distclean |
|---|
| 19 |
rm -f build-stamp |
|---|
| 20 |
dh_clean |
|---|
| 21 |
|
|---|
| 22 |
install: build |
|---|
| 23 |
dh_testdir |
|---|
| 24 |
dh_testroot |
|---|
| 25 |
dh_clean -k |
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
$(MAKE) DESTDIR=$(CURDIR)/debian/angband/ install |
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
binary-indep: build install |
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
binary-arch: build install |
|---|
| 37 |
dh_testdir |
|---|
| 38 |
dh_testroot |
|---|
| 39 |
dh_installchangelogs changes.txt |
|---|
| 40 |
dh_installdocs |
|---|
| 41 |
dh_installexamples |
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 |
|
|---|
| 52 |
|
|---|
| 53 |
dh_installman |
|---|
| 54 |
dh_link |
|---|
| 55 |
|
|---|
| 56 |
dh_compress |
|---|
| 57 |
dh_fixperms |
|---|
| 58 |
|
|---|
| 59 |
|
|---|
| 60 |
dh_installdeb |
|---|
| 61 |
dh_shlibdeps |
|---|
| 62 |
dh_gencontrol |
|---|
| 63 |
dh_md5sums |
|---|
| 64 |
dh_builddeb |
|---|
| 65 |
|
|---|
| 66 |
binary: binary-indep binary-arch |
|---|
| 67 |
.PHONY: build clean binary-indep binary-arch binary install |
|---|