/[thuban]/branches/WIP-pyshapelib-bramz/debian/rules
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/debian/rules

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

trunk/thuban/debian/rules revision 2029 by silke, Tue Dec 16 11:05:00 2003 UTC branches/WIP-pyshapelib-bramz/debian/rules revision 2734 by bramz, Thu Mar 1 12:42:59 2007 UTC
# Line 5  Line 5 
5  # Uncomment this to turn on verbose mode.  # Uncomment this to turn on verbose mode.
6  #export DH_VERBOSE=1  #export DH_VERBOSE=1
7    
8    include /usr/share/cdbs/1/rules/simple-patchsys.mk
9    
10  # This is the debhelper compatibility version to use.  # This is the debhelper compatibility version to use.
11  export DH_COMPAT=4  export DH_COMPAT=4
12    
# Line 20  build: build-stamp Line 22  build: build-stamp
22  build-stamp:  build-stamp:
23          dh_testdir          dh_testdir
24    
25          cp setup.py setup.py.orig          python setup.py build_ext --use-wx-python-swig-hack build
26          patch -p0 < debian/setup.py.patch          # Multi-language support:
27          python setup.py build          cd po; make mo
         mv setup.py.orig setup.py  
   
28          touch build-stamp          touch build-stamp
29    
30  clean:  clean::
31          dh_testdir          dh_testdir
32          dh_testroot          dh_testroot
         cp setup.py setup.py.orig  
         patch -p0 < debian/setup.py.patch  
33          python setup.py clean          python setup.py clean
         mv setup.py.orig setup.py  
34          rm -f build-stamp          rm -f build-stamp
35          rm -rf build          rm -rf build
36    
# Line 45  install: build Line 42  install: build
42          dh_clean          dh_clean
43          dh_installdirs          dh_installdirs
44    
         cp setup.py setup.py.orig  
         patch -p0 < debian/setup.py.patch  
45          python setup.py install --prefix=/usr --no-compile --root=`pwd`/debian/thuban          python setup.py install --prefix=/usr --no-compile --root=`pwd`/debian/thuban
         mv setup.py.orig setup.py  
46          ln -fs ../lib/thuban/thuban.py `pwd`/debian/thuban/usr/bin/thuban          ln -fs ../lib/thuban/thuban.py `pwd`/debian/thuban/usr/bin/thuban
47          cd debian/thuban; patch -p1 < ../bitmappath.patch; cd ../../              cd debian/thuban; patch -p1 < ../bitmappath.patch; cd ../../    
48    

Legend:
Removed from v.2029  
changed lines
  Added in v.2734

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26