~ubuntu-branches/ubuntu/quantal/xarchiver/quantal

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-03-19 10:51:00 UTC
  • mfrom: (1.1.9 upstream) (2.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090319105100-vaivcmrm3zdqqhcs
Tags: 1:0.5.2+20090319+dfsg-1
* Adding lha to suggests (Closes: #512685).
* Updating standards version to 3.8.1.
* Adding upstream target in rules.
* Adding intltool to build-depends.
* Merging upstream version 0.5.2+20090319+dfsg:
  - fixes segment violation (Closes: #517488).
* Rediffing mime-types.patch.
* Updating mime file.
* Calling desktop debhelper in rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
include /usr/share/dpatch/dpatch.make
 
3
include /usr/share/quilt/quilt.make
4
4
 
5
5
DEB_HOST_GNU_TYPE       ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
6
6
DEB_BUILD_GNU_TYPE      ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
11
11
        CROSS=
12
12
endif
13
13
 
 
14
VERSION=0.5.2
 
15
DATE=$(shell date +%Y%m%d)
 
16
 
14
17
upstream:
15
 
        rm -f pixmaps/xarchiver-html.png
 
18
        # Needs: subversion autoconf automake libtool xfce4-dev-tools
 
19
 
 
20
        cd .. && \
 
21
        svn co http://svn.xfce.org/svn/xfce/xarchiver/trunk && \
 
22
        mv trunk xarchiver-$(VERSION)+$(DATE)+dfsg
 
23
 
 
24
        cd ../xarchiver-$(VERSION)+$(DATE)+dfsg && \
 
25
        ./autogen.sh
 
26
 
 
27
        find ../xarchiver-$(VERSION)+$(DATE)+dfsg -type d -name .svn | xargs rm -rf
 
28
        rm -rf ../xarchiver-$(VERSION)+$(DATE)+dfsg/autom4te.cache
 
29
        rm -f ../xarchiver-$(VERSION)+$(DATE)+dfsg/autogen.sh
 
30
 
 
31
        rm -f ../xarchiver-$(VERSION)+$(DATE)+dfsg/pixmaps/xarchiver-html.png
 
32
 
 
33
        tar cfz ../xarchiver_$(VERSION)+$(DATE)+dfsg.orig.tar.gz ../xarchiver-$(VERSION)+$(DATE)+dfsg
16
34
 
17
35
clean: unpatch
18
36
        dh_testdir
24
42
 
25
43
        dh_clean
26
44
 
27
 
config.status: configure patch-stamp
 
45
config.status: configure patch
28
46
        dh_testdir
29
47
 
30
48
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
51
69
        dh_installdirs
52
70
 
53
71
        $(MAKE) install DESTDIR=$(CURDIR)/debian/xarchiver
54
 
        install -D -m 644 debian/pixmap/xarchiver.xpm debian/xarchiver/usr/share/pixmaps/xarchiver.xpm
 
72
        install -D -m 644 debian/pixmaps/xarchiver.xpm debian/xarchiver/usr/share/pixmaps/xarchiver.xpm
55
73
 
56
74
        rm -f debian/xarchiver/usr/share/doc/xarchiver/AUTHORS
57
75
        rm -f debian/xarchiver/usr/share/doc/xarchiver/COPYING
69
87
        dh_installmenu
70
88
        dh_installman
71
89
        dh_installmime
 
90
        dh_desktop
72
91
        dh_strip
73
92
        dh_compress
74
93
        dh_fixperms