Ignore:
Timestamp:
2009-06-17T18:34:35+02:00 (16 years ago)
Author:
joerg
Message:

Do not automatically cleanup before building a debian package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/debian/rules

    r12639 r15969  
    1212
    1313build: build-stamp
    14 build-stamp: clean
     14build-stamp:
    1515        dh_testdir
    1616
     
    2929        # Add here commands to clean up after the build process.
    3030        -$(MAKE) distclean
    31 
     31        for dir in `ls plugins/*/build.xml | sed s,/build.xml,,`; do \
     32            echo "-------- Cleanup Plugin '$$dir'"; \
     33            cd $$dir; \
     34            rm -f dist/*.jar; \
     35            rm -f ../../dist/$dir.jar; \
     36            rm -f *.log; \
     37            ant -q clean; \
     38            cd ../..; \
     39        done
     40        cd core;   ant -q clean
    3241        dh_clean
    3342
     
    3544        dh_testdir
    3645        dh_testroot
    37         dh_clean -k
    3846        dh_installdirs
    3947
    4048#       ./debian/update_svn_revision.sh
    41         ./debian/make_install_files.sh --dest-path=${destdir} || exit -1
    42 
     49        bash ./debian/make_install_files.sh --dest-path=${destdir} --no-clean || exit -1
     50        # Install done
    4351
    4452# Build architecture-independent files here.
Note: See TracChangeset for help on using the changeset viewer.