diff options
author | Reinhard Tartler <siretart@tauware.de> | 2009-04-01 10:19:05 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2009-04-01 10:19:05 +0200 |
commit | 7e25d493cc56b3b7467c441edb5136c798fcdb76 (patch) | |
tree | 2ff5c9d4a5a6cc50836ff050c751ba3dfb4e700c /debian/rules | |
parent | 8009c234c33c30ddd16ea66e81b09890a5b72ccf (diff) |
factor out distribution agnostic cleanup commands in debian/clean.sh
this file could potentially be included upstream
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 49 |
1 files changed, 1 insertions, 48 deletions
diff --git a/debian/rules b/debian/rules index bed3422f..1b748320 100755 --- a/debian/rules +++ b/debian/rules @@ -46,34 +46,6 @@ documentation/instguide.pdf: documentation/adminguide.pdf: documentation/ExceptionCodes.xml cd documentation && docbook2pdf adminguide.xml -# generated files for removal -GENERATED_FILES = ExceptionCodes.txt infrastructure/BoxPlatform.pm -GENERATED_FILES += lib/common/BoxConfig.h runtest.pl -GENERATED_FILES += infrastructure/makebuildenv.pl -GENERATED_FILES += infrastructure/makedistribution.pl -GENERATED_FILES += infrastructure/makeparcels.pl -GENERATED_FILES += lib/common/makeexception.pl -GENERATED_FILES += lib/common/BoxPortsAndFiles.h -GENERATED_FILES += lib/raidfile/raidfile-config -GENERATED_FILES += lib/server/makeprotocol.pl -GENERATED_FILES += test/backupstorefix/testfiles/testbackupstorefix.pl -GENERATED_FILES += test/bbackupd/testfiles/extcheck1.pl -GENERATED_FILES += test/bbackupd/testfiles/extcheck2.pl -GENERATED_FILES += test/bbackupd/testfiles/notifyscript.pl -GENERATED_FILES += test/bbackupd/testfiles/syncallowscript.pl -GENERATED_FILES += bin/bbackupd/bbackupd-config -GENERATED_FILES += bin/bbackupquery/makedocumentation.pl -GENERATED_FILES += bin/bbstored/bbstored-certs -GENERATED_FILES += bin/bbstored/bbstored-config -GENERATED_FILES += contrib/solaris/bbackupd-manifest.xml -GENERATED_FILES += contrib/solaris/bbackupd-smf-method -GENERATED_FILES += contrib/solaris/bbstored-manifest.xml -GENERATED_FILES += contrib/solaris/bbstored-smf-method -GENERATED_FILES += documentation/ExceptionCodes.xml -GENERATED_FILES += documentation/manpage.links -GENERATED_FILES += documentation/manpage.refs - - build: build-stamp documentation/instguide.pdf documentation/adminguide.pdf clean: clean-real unpatch @@ -83,28 +55,9 @@ clean-real: dh_clean build-stamp configure-stamp echo "USE_SVN_VERSION\nboxbackup" > VERSION.txt [ ! -f Makefile ] || make clean - - rm -fr aclocal.m4 configure - rm -fr contrib/*/bbackupd contrib/*/bbstored - rm -fr lib/common/BoxConfig.h.in test/bbackupd/testfiles/bbackupd.conf - - find . -name '*.o' | xargs --no-run-if-empty rm - find . -name '*.a' | xargs --no-run-if-empty rm - find . -name 'autogen_*' | xargs --no-run-if-empty rm - find . -name '_*' | xargs --no-run-if-empty rm - find . -name 'test-*.log' | xargs --no-run-if-empty rm - find . -name 'Makefile' | xargs --no-run-if-empty rm - - # the test scripts do strange things here - # (directories without write permissions) - [ ! -d debug ] || chmod -R +rw debug/ - rm -fr release/ debug/ local/ parcels/ - + sh debian/clean.sh dh_clean config.log config.status dh_clean config.sub config.guess - dh_clean documentation/instguide.pdf documentation/adminguide.pdf - - dh_clean $(GENERATED_FILES) install: DH_OPTIONS= install: build |