root/trunk/debian/rules

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 #!/usr/bin/make -f
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         # Add here commands to install the package into debian/angband.
28         $(MAKE) DESTDIR=$(CURDIR)/debian/angband/ install
29
30
31 # Build architecture-independent files here.
32 binary-indep: build install
33 # We have nothing to do by default.
34
35 # Build architecture-dependent files here.
36 binary-arch: build install
37         dh_testdir
38         dh_testroot
39         dh_installchangelogs changes.txt
40         dh_installdocs
41         dh_installexamples
42 #       dh_install
43 #       dh_installmenu
44 #       dh_installdebconf       
45 #       dh_installlogrotate
46 #       dh_installemacsen
47 #       dh_installpam
48 #       dh_installmime
49 #       dh_python
50 #       dh_installinit
51 #       dh_installcron
52 #       dh_installinfo
53         dh_installman
54         dh_link
55 #       dh_strip
56         dh_compress
57         dh_fixperms
58 #       dh_perl
59 #       dh_makeshlibs
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
Note: See TracBrowser for help on using the browser.