~christer.edwards/origami/debian

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Christer Edwards
  • Date: 2008-05-27 21:03:26 UTC
  • Revision ID: christer.edwards@ubuntu.com-20080527210326-hi242cgh6decibx9
transitioned to CDBS packaging

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
# -*- makefile -*-
3
 
# Sample debian/rules that uses debhelper.
4
 
# This file was originally written by Joey Hess and Craig Small.
5
 
# As a special exception, when this file is copied by dh-make into a
6
 
# dh-make output file, you may use that output file without restriction.
7
 
# This special exception was added by Craig Small in version 0.37 of dh-make.
8
 
 
9
 
# Uncomment this to turn on verbose mode.
10
 
#export DH_VERBOSE=1
11
 
 
12
 
 
13
 
 
14
 
 
15
 
configure: configure-stamp
16
 
configure-stamp:
17
 
        dh_testdir
18
 
        # Add here commands to configure the package.
19
 
 
20
 
        touch configure-stamp
21
 
 
22
 
 
23
 
build: build-stamp
24
 
 
25
 
build-stamp: configure-stamp 
26
 
        dh_testdir
27
 
 
28
 
        # Add here commands to compile the package.
29
 
        $(MAKE)
30
 
        #docbook-to-man debian/origami.sgml > origami.1
31
 
 
32
 
        touch $@
33
 
 
34
 
clean:
35
 
        dh_testdir
36
 
        dh_testroot
37
 
        rm -f build-stamp configure-stamp
38
 
 
39
 
        # Add here commands to clean up after the build process.
40
 
        -$(MAKE) clean
41
 
 
42
 
        dh_clean 
43
 
 
44
 
install: build
45
 
        dh_testdir
46
 
        dh_testroot
47
 
        dh_clean -k 
48
 
        dh_installdirs
49
 
 
50
 
        # Add here commands to install the package into debian/origami.
51
 
        $(MAKE) DESTDIR=$(CURDIR)/debian/origami install
52
 
        install -d $(CURDIR)/debian/origami/usr/share/doc
53
 
        install -m 644 origami $(CURDIR)/debian/origami/usr/bin
54
 
 
55
 
 
56
 
# Build architecture-independent files here.
57
 
binary-indep: build install
58
 
# We have nothing to do by default.
59
 
 
60
 
# Build architecture-dependent files here.
61
 
binary-arch: build install
62
 
        dh_testdir
63
 
        dh_testroot
64
 
        dh_installchangelogs changelog
65
 
        dh_installdocs
66
 
        dh_installexamples
67
 
#       dh_install
68
 
#       dh_installmenu
69
 
#       dh_installdebconf       
70
 
#       dh_installlogrotate
71
 
#       dh_installemacsen
72
 
#       dh_installpam
73
 
#       dh_installmime
74
 
#       dh_python
75
 
#       dh_installinit
76
 
#       dh_installcron
77
 
#       dh_installinfo
78
 
        dh_installman
79
 
        dh_link
80
 
        dh_strip
81
 
        dh_compress
82
 
        dh_fixperms
83
 
#       dh_perl
84
 
#       dh_makeshlibs
85
 
        dh_installdeb
86
 
        dh_shlibdeps
87
 
        dh_gencontrol
88
 
        dh_md5sums
89
 
        dh_builddeb
90
 
 
91
 
binary: binary-indep binary-arch
92
 
.PHONY: build clean binary-indep binary-arch binary install configure
 
2
                                
 
3
include /usr/share/cdbs/1/rules/debhelper.mk