/[pkg-games]/packages/trunk/oneisenough/debian/rules
ViewVC logotype

Contents of /packages/trunk/oneisenough/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4649 - (show annotations) (download)
Tue Nov 13 15:36:37 2007 UTC (5 years, 7 months ago) by richih-guest
File size: 1094 byte(s)
* oneisenough/debian/rules:
  cleanup
* oneisenough/debian/oneisenough.desktop:
  fixed typo

1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 CFLAGS = -Wall -g
7
8 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
9 CFLAGS += -O0
10 else
11 CFLAGS += -O2
12 endif
13
14 configure: configure-stamp
15 configure-stamp:
16 dh_testdir
17 $(MAKE) -f /usr/share/quilt/quilt.make patch
18 touch $@
19
20 build: build-stamp
21 build-stamp: configure-stamp
22 dh_testdir
23 touch $@
24
25 clean:
26 dh_testdir
27 dh_testroot
28 rm -f {build,configure}-stamp
29 $(MAKE) -f /usr/share/quilt/quilt.make unpatch
30 dh_clean
31
32 install: build
33 dh_testdir
34 dh_testroot
35 dh_clean -k
36 chmod +x run_game.py
37 chmod +x debian/game.sh
38 dh_installdirs
39
40 # Build architecture-independent files here.
41 binary-indep: build install
42 dh_testdir
43 dh_testroot
44 dh_installchangelogs
45 dh_installdocs
46 dh_installexamples
47 dh_install
48 dh_installmenu
49 dh_installman
50 dh_link
51 dh_strip
52 dh_compress
53 dh_fixperms
54 dh_installdeb
55 dh_shlibdeps
56 dh_gencontrol
57 dh_md5sums
58 dh_builddeb
59
60 # Build architecture-dependent files here.
61 binary-arch:
62
63 binary: binary-indep binary-arch
64 .PHONY: build clean binary-indep binary-arch binary install configure

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5