~ubuntu-branches/debian/sid/gnome-chess/sid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Mark Brown
  • Date: 2002-02-04 21:49:58 UTC
  • Revision ID: james.westby@ubuntu.com-20020204214958-j5q3zeufsaq1t5fm
Tags: 0.3.2-0.5
Try libgdk-pixbuf-gnome-dev instead (closes: #132240).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# MAde with the aid of dh_make, by Craig Small
 
3
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
 
4
# Some lines taken from debmake, by Cristoph Lameter.
 
5
 
 
6
# Uncomment this to turn on verbose mode.
 
7
#export DH_VERBOSE=1
 
8
 
 
9
build: build-stamp
 
10
build-stamp:
 
11
        dh_testdir
 
12
 
 
13
        ./configure --prefix=/usr --sysconfdir=/etc
 
14
        # Add here commands to compile the package.
 
15
        make #CFLAGS="-O2 -g -Wall"
 
16
 
 
17
        touch build-stamp
 
18
 
 
19
clean:
 
20
        dh_testdir
 
21
        dh_testroot
 
22
        -rm -rf build-stamp debian/substvars debian/*~ debian/tmp config.log
 
23
 
 
24
        # Add here commands to clean up after the build process.
 
25
        -$(MAKE) distclean
 
26
        rm -f libglade/macros/Makefile libglade/doc/Makefile plugins/perl/ext/Makefile.PL plugins/perl/ext/Makefile \
 
27
        plugins/perl/xsinit.c plugins/guile/Makefile config.cache
 
28
        dh_clean
 
29
 
 
30
# Build architecture-independent files here.
 
31
binary-indep: build
 
32
# We have nothing to do by default.
 
33
 
 
34
# Build architecture-dependent files here.
 
35
binary-arch: build
 
36
#       dh_testversion
 
37
        dh_testdir
 
38
        dh_testroot
 
39
        dh_clean -k
 
40
        dh_installdirs
 
41
 
 
42
        $(MAKE) install prefix=`pwd`/debian/tmp/usr sysconfdir=`pwd`/debian/tmp/etc
 
43
 
 
44
        rm -f `find ./debian/tmp/usr/ -name \*.a`
 
45
        dh_installdocs
 
46
        dh_installexamples
 
47
        dh_installmenu
 
48
#       dh_installinit
 
49
#       dh_installcron
 
50
        dh_installmanpages
 
51
        dh_installchangelogs
 
52
        dh_strip
 
53
        dh_compress
 
54
        dh_fixperms
 
55
        dh_installdeb
 
56
        dh_shlibdeps
 
57
        dh_gencontrol
 
58
        dh_makeshlibs
 
59
        dh_undocumented gnome-chess.1
 
60
        dh_md5sums
 
61
        dh_builddeb
 
62
 
 
63
source diff:                                                                  
 
64
        @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
65
 
 
66
binary: binary-indep binary-arch
 
67
.PHONY: build clean binary-indep binary-arch binary