source: branches/release/0.2/debian/rules @ 306

Revision 306, 1.6 KB checked in by marc, 9 years ago (diff)

Fixed Menu, improved makefile (backported from trunk), don't install so many images

  • Property svn:executable set to *
Line 
1#!/usr/bin/make -f
2# -*- makefile -*-
3
4# Uncomment this to turn on verbose mode.
5#export DH_VERBOSE=1
6
7PYTHON  := /usr/bin/python
8PYVER   := $(shell $(PYTHON) -c 'import sys; print sys.version[:3]')
9
10configure: configure-stamp
11configure-stamp:
12        dh_testdir
13        # Add here commands to configure the package.
14
15        touch configure-stamp
16
17
18build: build-stamp
19
20build-stamp: configure-stamp
21        dh_testdir
22
23        # This needs to be updated to have the new options
24        /usr/bin/docbook-to-man debian/itaka.sgml > share/itaka.1
25
26        touch build-stamp
27
28clean:
29        dh_testdir
30        dh_testroot
31        rm -f build-stamp configure-stamp
32
33        # Add here commands to clean up after the build process.
34        #-$(MAKE) clean
35
36        -rm -f debian/files
37
38        dh_clean
39
40install: build
41        dh_testdir
42        dh_testroot
43        dh_clean -k
44        dh_installdirs
45
46        # Add here commands to install the package into debian/itaka.
47        $(MAKE) DESTDIR=$(CURDIR)/debian/itaka/usr install
48
49        # And other miscellaneous tasks
50        /usr/bin/convert share/images/itaka32x32.png debian/itaka/usr/share/pixmaps/itaka.xpm
51        /usr/bin/convert share/images/itaka16x16.png debian/itaka/usr/share/pixmaps/itaka16x16.xpm
52
53# Build architecture-independent files here.
54binary-arch: build install
55# We have nothing to do by default.
56
57# Build architecture-dependent files here.
58binary-indep: build install
59        dh_testdir
60        dh_testroot
61        dh_installdocs
62        dh_installexamples
63        dh_installmenu
64        dh_installman share/itaka.1
65        dh_link
66        dh_strip
67        dh_installchangelogs ChangeLog
68        dh_compress
69        dh_fixperms
70        dh_installdeb
71        dh_shlibdeps
72        dh_gencontrol
73        dh_md5sums
74        dh_builddeb
75
76binary: binary-indep binary-arch
77.PHONY: build clean binary-indep binary-arch binary install configure
Note: See TracBrowser for help on using the repository browser.