~vorlon/ubuntu/saucy/gourmet/trunk

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Rolf Leggewie
  • Date: 2008-07-26 13:29:41 UTC
  • Revision ID: james.westby@ubuntu.com-20080726132941-ek7p0gvtfv44pgtj
Tags: 0.14.0-1
* initial release on debian (Closes: #427474).
* 01-disable_gtk_check.patch enables headless builds
* 02-fix_gnome_menu.patch makes sure gourmet places itself correctly
  in the menu
* the upstream tarball apparently misses some files unintentionally
  They have been fetched from upstream cvs and sf.net ticket 2022831
  has been opened about this.  The missing files are in
  03_missing_data_dir.patch
* 04-fix-python_version_dependency.patch makes sure that the very old
  python2.3 does not end up in Depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
include /usr/share/quilt/quilt.make
 
4
 
 
5
DT:=debian/gourmet
 
6
DTUS:=${DT}/usr/share
 
7
DTUSL:=${DTUS}/locale
 
8
DTUSG:=${DTUS}/gourmet
 
9
 
 
10
configure: configure-stamp
 
11
configure-stamp: patch
 
12
        dh_testdir
 
13
        touch configure-stamp
 
14
 
 
15
build: build-stamp
 
16
build-stamp: configure-stamp 
 
17
        dh_testdir
 
18
        touch build-stamp
 
19
 
 
20
clean: unpatch
 
21
        dh_testdir
 
22
        dh_testroot
 
23
        rm -f build-stamp configure-stamp
 
24
        dh_clean 
 
25
        find . -name "*.pyc" -delete
 
26
        rm -Rf build/
 
27
 
 
28
install: build
 
29
        dh_testdir
 
30
        dh_testroot
 
31
        dh_clean -k 
 
32
        dh_installdirs
 
33
 
 
34
        # Add here commands to install the package into debian/gourmet.
 
35
        python setup.py install --no-compile --disable-modules-check --root=$(CURDIR)/debian/gourmet --install-lib /usr/share
 
36
        echo -n "Current Directory is: " && pwd
 
37
        ls -l
 
38
        rm -Rvf debian/gourmet/usr/share/gourmet-0.14.0.egg-info
 
39
 
 
40
# Build architecture-independent files here.
 
41
binary-indep: build install
 
42
        dh_testdir
 
43
        dh_testroot
 
44
        dh_pycentral
 
45
        dh_installchangelogs CHANGES
 
46
        dh_installdocs
 
47
#       dh_installexamples
 
48
#       dh_install
 
49
        dh_installmenu
 
50
#       dh_installdebconf
 
51
#       dh_installlogrotate
 
52
#       dh_installemacsen
 
53
#       dh_installmime
 
54
#       dh_installinit
 
55
#       dh_installcron
 
56
#       dh_installinfo
 
57
#       dh_installman debian/gourmet.1
 
58
        dh_link
 
59
        dh_strip
 
60
        dh_compress
 
61
        dh_fixperms
 
62
#       dh_perl
 
63
#       dh_python
 
64
#       dh_makeshlibs
 
65
        dh_installdeb
 
66
        dh_shlibdeps
 
67
        dh_gencontrol
 
68
        dh_md5sums
 
69
        dh_builddeb
 
70
 
 
71
# Build architecture-dependent files here. (nothing to be done)
 
72
binary-arch: build install
 
73
 
 
74
binary: binary-indep binary-arch
 
75
.PHONY: build clean binary-indep binary-arch binary install configure