~ubuntu-branches/ubuntu/wily/packeth/wily

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): David Paleino
  • Date: 2010-03-04 21:32:00 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100304213200-dnrtvqlt9c5nont4
Tags: 1.6.5-1
* New upstream version
* debian/control:
  - updated my email address
  - DMUA removed
  - bumped Standards-Version to 3.8.4 (no changes needed)
  - bumped debhelper dependency to >= 7.0.50~, to use
    overridden rules
  - removed Build-Dependency on quilt
* debian/rules:
  - use dh7
  - rename /usr/bin/packETH to /usr/bin/packeth
* debian/watch updated
* debian/source/format: use 3.0 (quilt)
* debian/patches/:
  - fix_pixmaps.patch removed, fixed upstream
  - fix_warnings.patch updated, and renamed to 01-fix_warnings.patch
  - fix_Makefile.patch removed, fixed in debian/rules
  - 02-fix_typo.patch added
* debian/examples removed, no more available upstream
* debian/packeth.1 manually rewritten, without using docbook sources
* debian/copyright: point to the non-symlink license

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# Uncomment this to turn on verbose mode.
5
5
#export DH_VERBOSE=1
6
6
 
7
 
CFLAGS = -Wall -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
 
7
export CFLAGS = -Wall -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
8
8
export LDFLAGS = -Wl,-z,defs -Wl,--as-needed
9
9
 
10
 
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
11
 
        export CFLAGS += -O0
12
 
else
13
 
        export CFLAGS += -O2
14
 
endif
15
 
 
16
 
packeth.1: packeth.xml
17
 
        # This is to be run from within debian/
18
 
        xsltproc -''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<
19
 
 
20
 
build: build-stamp
21
 
build-stamp:
22
 
        dh --with quilt build
23
 
        touch $@
24
 
 
25
 
clean:
26
 
        dh --with quilt $@
27
 
 
28
 
install: install-stamp
29
 
install-stamp: build
30
 
        dh install
31
 
        touch $@
32
 
 
33
 
binary-indep:
34
 
binary-arch: build install
 
10
override_dh_auto_install:
 
11
        dh_auto_install
 
12
        mv $(CURDIR)/debian/packeth/usr/bin/packETH \
 
13
           $(CURDIR)/debian/packeth/usr/bin/packeth
 
14
 
 
15
%:
35
16
        dh $@
36
 
 
37
 
binary: binary-indep binary-arch
38
 
.PHONY: build clean binary-indep binary-arch binary install