~ubuntu-branches/ubuntu/maverick/webdeveloper/maverick

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna
  • Date: 2009-08-25 22:12:57 UTC
  • mfrom: (2.2.2 squeeze)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20090825221257-95uuw2r9azf7vfjx
Tags: 1.1.8-2
* Update my e-mail address.
* Remove DM-Upload-Allowed field.
* Implement override_dh_auto_clean instead of a full clean routine,
  recent dh-auto-clean versions launch "ant clean" and upstream build
  file does not provide a clean target (Closes: #543117).
* Refactorize rules file to use debhelper ant buildsystem support.
* Bump Standards-Version to 3.8.3, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
%:
7
7
        dh --with quilt $@
8
8
 
9
 
clean:
10
 
        rm -fr ${CURDIR}/build-tree
11
 
        dh --with quilt $@
12
 
 
13
 
override_dh_auto_build:
 
9
build:
14
10
        mkdir -p ${CURDIR}/build-tree/xpi
15
 
        ant build
 
11
        dh --with quilt $@
16
12
        unzip -q ${CURDIR}/build-tree/web-developer.xpi -d ${CURDIR}/build-tree/xpi
17
13
        rm -f ${CURDIR}/build-tree/xpi/license.txt
18
14
 
 
15
override_dh_auto_clean:
 
16
        rm -fr ${CURDIR}/build-tree
 
17
 
19
18
get-orig-source:
20
19
        cvs -d :pserver:guest:guest@mozdev.org:/cvs export -D $(CVSREV) -d webdeveloper-$(VERSION) webdeveloper/development
21
20
        tar c webdeveloper-$(VERSION)/ | gzip -9 > ../webdeveloper_$(VERSION).orig.tar.gz