~ubuntu-branches/ubuntu/trusty/xmltoman/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Jose Carlos Medeiros
  • Date: 2008-06-15 23:53:14 UTC
  • mfrom: (2.1.1 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080615235314-jpj9nl6yx4c8pbo7
Tags: 0.4-2
* debian/control:
  - Standards-Version: 3.8.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
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 compatibility version to use.
9
 
export DH_COMPAT=3
10
 
 
11
 
configure: configure-stamp
12
 
configure-stamp:
13
 
        dh_testdir
14
 
 
15
 
        touch configure-stamp
16
 
 
17
 
 
18
 
build: build-stamp
19
 
 
20
 
build-stamp: configure-stamp 
21
 
        dh_testdir
22
 
 
23
 
        $(MAKE) PREFIX=/usr
24
 
 
25
 
        touch build-stamp
26
 
 
27
 
clean:
28
 
        dh_testdir
29
 
        dh_testroot
30
 
        rm -f build-stamp configure-stamp
31
 
 
32
 
        -$(MAKE) clean
33
 
 
34
 
        dh_clean
35
 
 
36
 
install: build
37
 
        dh_testdir
38
 
        dh_testroot
39
 
        dh_clean -k
40
 
        dh_installdirs
41
 
 
42
 
        $(MAKE) install DESTDIR=$(CURDIR)/debian/xmltoman PREFIX=/usr
43
 
 
44
 
binary-all: build install
45
 
 
46
 
# Build architecture-dependent files here.
47
 
binary-indep: build install
48
 
        dh_testdir
49
 
        dh_testroot
50
 
#       dh_installdebconf       
51
 
        dh_installdocs
52
 
        dh_installexamples xml/*.xml
53
 
#       dh_installmenu
54
 
#       dh_installlogrotate
55
 
#       dh_installemacsen
56
 
#       dh_installpam
57
 
#       dh_installmime
58
 
#       dh_installinit
59
 
#       dh_installcron
60
 
        dh_installman xmltoman.1 xmlmantohtml.1
61
 
#       dh_installinfo
62
 
#       dh_undocumented
63
 
        dh_installchangelogs 
64
 
        dh_link
65
 
#       dh_strip
66
 
        dh_compress
67
 
        dh_fixperms
68
 
#       dh_makeshlibs
69
 
        dh_installdeb
70
 
#       dh_perl
71
 
#       dh_shlibdeps
72
 
        dh_gencontrol
73
 
        dh_md5sums
74
 
        dh_builddeb
75
 
 
76
 
binary: binary-indep binary-arch
77
 
.PHONY: build clean binary-indep binary-arch binary install configure
 
2
  
 
3
include /usr/share/cdbs/1/rules/debhelper.mk
 
4
include /usr/share/cdbs/1/class/makefile.mk
 
5
 
 
6
DEB_MAKE_INSTALL_TARGET += install PREFIX=$(CURDIR)/debian/xmltoman/usr
 
7