~ubuntu-branches/ubuntu/maverick/xwrits/maverick

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Jari Aalto, Jari Aalto
  • Date: 2010-05-04 21:39:32 UTC
  • Revision ID: james.westby@ubuntu.com-20100504213932-xr0zn8k1xe99bx54
Tags: 2.21-6.1
[ Jari Aalto ]
* Non-maintainer upload.
  - Move to packaging format "3.0 (quilt)".
* debian/clean
  - Mew file.
* debian/compat
  - New file.
* debian/control
  - (Build-Depends): update obsolete xutils to xutils-dev.
    (important; Closes: #579038). Remove *-1 version suffix
    from texinfo dependency. Update to debhelper 7.1.
  - (Depends): add ${misc:Depends}.
  - (Homepage): New field.
  - (Standards-Version): update to 3.8.4.
* debian/copyright
  - Update layout and point to GPL-2.
* debian/rules
  - Delete EOL whitespaces.
  - (DH_COMPAT): Remove.
  - (install): Update dh_clean to dh_prep.
  - (clean): Fix lintian debian-rules-ignores-make-clean-error.
* debian/source/format
  - New file.
* debian/watch
  - New file.
* xwrits.1
  - Fix hyphens.

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
 
# This file is public domain software, originally written by Joey Hess. 
4
2
 
5
3
# Uncomment this to turn on verbose mode.
6
4
#export DH_VERBOSE=1
7
5
 
8
 
# This is the debhelper compatibility version to use.
9
 
export DH_COMPAT=4
10
 
 
11
6
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
12
7
        CFLAGS += -O0
13
8
else
29
24
        rm -f build-stamp
30
25
 
31
26
        # Commands to clean up after the build process.
32
 
        -$(MAKE) distclean
 
27
        [ ! -f Makefile ] || $(MAKE) distclean
33
28
 
34
29
        dh_clean
35
30
 
36
31
install: build
37
32
        dh_testdir
38
33
        dh_testroot
39
 
        dh_clean -k
 
34
        dh_prep
40
35
        dh_installdirs
41
36
 
42
37
        $(MAKE) prefix=`pwd`/debian/xwrits/usr mandir=`pwd`/debian/xwrits/usr/share/man install
48
43
# Build architecture-dependent files here.
49
44
binary-arch: build install
50
45
        dh_testdir
51
 
        dh_testroot     
 
46
        dh_testroot
52
47
        dh_installdocs README GESTURES
53
48
        dh_installchangelogs NEWS
54
49
        dh_link