~ubuntu-branches/ubuntu/gutsy/ms-sys/gutsy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Gürkan Sengün
  • Date: 2004-04-04 21:46:59 UTC
  • Revision ID: james.westby@ubuntu.com-20040404214659-fhd9uy0surgwxwvb
Tags: 1.1.3-1
* New upstream version.
* Changed my name to UTF-8 in debian/{changelog,copyright,control}
* Thanks Andree Leidenfrost <aleidenf@bigpond.net.au> for the help.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/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
 
 
9
CFLAGS = -Wall -g
 
10
 
 
11
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 
12
        CFLAGS += -O0
 
13
else
 
14
        CFLAGS += -O2
 
15
endif
 
16
 
 
17
 
 
18
build: build-stamp
 
19
 
 
20
build-stamp: #configure-stamp 
 
21
        dh_testdir
 
22
 
 
23
        # Add here commands to compile the package.
 
24
        $(MAKE)
 
25
 
 
26
        touch build-stamp
 
27
 
 
28
clean:
 
29
        dh_testdir
 
30
        dh_testroot
 
31
        rm -f build-stamp configure-stamp
 
32
        -$(MAKE) clean
 
33
        dh_clean
 
34
 
 
35
install: build
 
36
        dh_testdir
 
37
        dh_testroot
 
38
        dh_clean -k
 
39
        dh_installdirs
 
40
        $(MAKE) install DESTDIR=$(CURDIR)/debian/ms-sys
 
41
 
 
42
 
 
43
# Build architecture-independent files here.
 
44
binary-indep: build install
 
45
# We have nothing to do by default.
 
46
 
 
47
# Build architecture-dependent files here.
 
48
binary-arch: build install
 
49
        dh_testdir
 
50
        dh_testroot
 
51
        dh_installdocs
 
52
#       dh_installman -A
 
53
        dh_installchangelogs CHANGELOG
 
54
        dh_link
 
55
        dh_strip
 
56
        dh_compress
 
57
        dh_fixperms
 
58
        dh_makeshlibs
 
59
        dh_installdeb
 
60
        dh_shlibdeps
 
61
        dh_gencontrol
 
62
        dh_md5sums
 
63
        dh_builddeb
 
64
 
 
65
binary: binary-indep binary-arch
 
66
.PHONY: build clean binary-indep binary-arch binary install configure