~ubuntu-branches/ubuntu/trusty/boxshade/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Andreas Tille, Mathieu Malaterre, A. Costa, Andreas Tille
  • Date: 2012-01-07 09:00:33 UTC
  • Revision ID: package-import@ubuntu.com-20120107090033-uv70fxpo2lbkkb63
Tags: 3.3.1-6
[ Mathieu Malaterre ]
* debian/get-orig-source: Add GZIP="--no-name" option to enable identical
  tarballs

[ A. Costa ]
* Corrected spelling in debian/boxshade.1.xml.  Closes: #650473.

[ Andreas Tille ]
* debian/control:
  - Standards-Version: 3.9.2 (no changes needed)
  - Fixed Vcs fields
* Debhelper 8 (control+compat)
* debian/bin/boxshade
  - moved debian/boxshade.sh to this location to enable easier
    usage of dh_install
  - s#/bin/bash#/bin/sh#
* debian/install
  - make use of dh_install
* debian/manpages
* debian/rules: Rewritten do use dh to profit easily from general
  changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
# -*- makefile -*-
3
 
# Sample debian/rules that uses debhelper.
4
 
# GNU copyright 1997 to 1999 by Joey Hess.
5
 
 
6
 
CFLAGS = -Wall -g
7
 
 
8
 
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
9
 
        CFLAGS += -O0
10
 
else
11
 
        CFLAGS += -O2
12
 
endif
13
 
 
14
 
include /usr/share/quilt/quilt.make
15
 
 
16
 
#XP=xsltproc  \
17
 
#      --nonet \
18
 
#      --param man.charmap.use.subset "0" \
19
 
#      --param make.year.ranges "1" \
20
 
#      --param make.single.year.ranges "1" 
21
 
 
22
 
 
23
 
build: patch build-stamp
24
 
build-stamp:
25
 
        dh_testdir
 
3
# debian/rules for boxshade
 
4
# Andreas Tille <tille@debian.org>, GPL
 
5
 
 
6
%:
 
7
        dh $@
 
8
 
 
9
override_dh_auto_build:
26
10
        $(MAKE) -f makefile.unx
27
 
        touch $@
28
11
 
29
 
clean: clean-patched unpatch
30
 
clean-patched: patch
31
 
        dh_testdir
32
 
        dh_testroot
33
 
        rm -f build-stamp
 
12
override_dh_clean:
34
13
        rm -f boxshade *.o
35
 
        dh_clean boxshade.1
36
 
 
37
 
install: build
38
 
        dh_testdir
39
 
        dh_testroot
40
 
        dh_prep
41
 
        dh_installdirs
42
 
 
43
 
        mkdir -p $(CURDIR)/debian/boxshade/usr/bin \
44
 
                $(CURDIR)/debian/boxshade/usr/lib/boxshade \
45
 
                $(CURDIR)/debian/boxshade/etc/boxshade || true
46
 
 
47
 
        cp debian/boxshade.sh $(CURDIR)/debian/boxshade/usr/bin/boxshade
48
 
        cp boxshade $(CURDIR)/debian/boxshade/usr/lib/boxshade
49
 
        cp *.grp *.par *.sim $(CURDIR)/debian/boxshade/etc/boxshade
50
 
 
51
 
 
52
 
binary-indep: build install
53
 
binary-arch: build install
54
 
        dh_testdir
55
 
        dh_testroot
56
 
        dh_installchangelogs 
57
 
        dh_installdocs
58
 
        dh_installmenu
59
 
        dh_installman debian/boxshade.1
60
 
        dh_link
61
 
        dh_strip
62
 
        dh_compress
63
 
        dh_fixperms
64
 
        dh_installdeb
65
 
        dh_shlibdeps
66
 
        dh_gencontrol
67
 
        dh_md5sums
68
 
        dh_builddeb
 
14
        dh_clean
69
15
 
70
16
get-orig-source:
71
17
        sh debian/get-orig-source
72
 
 
73
 
binary: binary-indep binary-arch
74
 
.PHONY: build clean binary-indep binary-arch binary install