~ubuntu-branches/ubuntu/warty/gwenview/warty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Michael Spanier
  • Date: 2002-03-13 11:38:18 UTC
  • Revision ID: james.westby@ubuntu.com-20020313113818-j54sylsr2wp5ib5l
Tags: 0.12.0-2
* corrected spelling error in description (closes: #124713)
* package rebuild with new libpng (closes: #135758)

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
# This is the debhelper compatability version to use.
 
9
export DH_COMPAT=3
 
10
 
 
11
configure: configure-stamp
 
12
configure-stamp:
 
13
        dh_testdir
 
14
        # Add here commands to configure the package.
 
15
        ./configure --prefix=/ --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 
16
 
 
17
        touch configure-stamp
 
18
 
 
19
build: configure-stamp build-stamp
 
20
build-stamp:
 
21
        dh_testdir
 
22
 
 
23
        # Add here commands to compile the package.
 
24
        $(MAKE)
 
25
        #/usr/bin/docbook-to-man debian/gwenview.sgml > gwenview.1
 
26
 
 
27
        touch build-stamp
 
28
 
 
29
clean:
 
30
        dh_testdir
 
31
        dh_testroot
 
32
        rm -f build-stamp configure-stamp
 
33
 
 
34
        # Add here commands to clean up after the build process.
 
35
        -$(MAKE) distclean
 
36
 
 
37
        dh_clean
 
38
 
 
39
install: build
 
40
        dh_testdir
 
41
        dh_testroot
 
42
        dh_clean -k
 
43
        dh_installdirs
 
44
 
 
45
        # Add here commands to install the package into debian/gwenview.
 
46
        $(MAKE) install prefix=$(CURDIR)/debian/gwenview/usr
 
47
        #mv $(CURDIR)/debian/gwenview/usr/share/applnk/Multimedia/Graphics/ \
 
48
        #$(CURDIR)/debian/gwenview/usr/share/applnk/
 
49
        #rmdir $(CURDIR)/debian/gwenview/usr/share/applnk/Multimedia/
 
50
 
 
51
# Build architecture-independent files here.
 
52
binary-indep: build install
 
53
# We have nothing to do by default.
 
54
 
 
55
# Build architecture-dependent files here.
 
56
binary-arch: build install
 
57
        dh_testdir
 
58
        dh_testroot
 
59
#       dh_installdebconf       
 
60
        dh_installdocs
 
61
#       dh_installexamples
 
62
        dh_installmenu
 
63
#       dh_installlogrotate
 
64
#       dh_installemacsen
 
65
#       dh_installpam
 
66
#       dh_installmime
 
67
#       dh_installinit
 
68
#       dh_installcron
 
69
#       dh_installman
 
70
        dh_installinfo
 
71
#       dh_undocumented
 
72
        dh_installchangelogs ChangeLog
 
73
        dh_link
 
74
        dh_strip
 
75
        dh_compress
 
76
        dh_fixperms
 
77
#       dh_makeshlibs
 
78
        dh_installdeb
 
79
#       dh_perl
 
80
        dh_shlibdeps
 
81
        dh_gencontrol
 
82
        dh_md5sums
 
83
        dh_builddeb
 
84
 
 
85
binary: binary-indep binary-arch
 
86
.PHONY: build clean binary-indep binary-arch binary install configure