/[debian]/libmicroba-java/trunk/debian/rules
ViewVC logotype

Diff of /libmicroba-java/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 955 by gregoa, Wed Sep 19 16:20:24 2007 UTC revision 956 by gregoa, Tue Oct 2 19:03:05 2007 UTC
# Line 9  Line 9 
9  # Uncomment this to turn on verbose mode.  # Uncomment this to turn on verbose mode.
10  #export DH_VERBOSE=1  #export DH_VERBOSE=1
11    
12    include /usr/share/quilt/quilt.make
13    
14  TARBALL ?= $(shell uscan --force-download --verbose | tail -n 2 | perl -ne 'print $$_ if s;.*(microba-[\d\.]+-full.zip).*;../$$1;')  TARBALL ?= $(shell uscan --force-download --verbose | tail -n 2 | perl -ne 'print $$_ if s;.*(microba-[\d\.]+-full.zip).*;../$$1;')
15  VERSION ?= $(shell echo $(TARBALL) | perl -pe 's;../microba-(.+)-full.zip;$$1;')  VERSION ?= $(shell echo $(TARBALL) | perl -pe 's;../microba-(.+)-full.zip;$$1;')
16  TMPDIR  := $(shell mktemp -d)  TMPDIR  := $(shell mktemp -d)
# Line 26  configure-stamp: Line 28  configure-stamp:
28          unzip $(CURDIR)/microba-*-sources.jar -d src          unzip $(CURDIR)/microba-*-sources.jar -d src
29          unzip $(CURDIR)/microba-*-javadoc.jar -d doc          unzip $(CURDIR)/microba-*-javadoc.jar -d doc
30          mv $(CURDIR)/src/build.xml $(CURDIR)/          mv $(CURDIR)/src/build.xml $(CURDIR)/
         patch < $(CURDIR)/debian/patches/jgraph.patch  
31          touch configure-stamp          touch configure-stamp
32    
33    
34  build: build-stamp  build: build-stamp
35    
36  build-stamp: configure-stamp  build-stamp: configure-stamp patch
37          dh_testdir          dh_testdir
38          ant bin_release          ant bin_release
39          touch $@          touch $@
40    
41  clean:  clean: unpatch
42          dh_testdir          dh_testdir
43          dh_testroot          dh_testroot
44          rm -f build-stamp configure-stamp          rm -f build-stamp configure-stamp

Legend:
Removed from v.955  
changed lines
  Added in v.956

  ViewVC Help
Powered by ViewVC 1.1.26