[Pkg-virtualbox-commits] r226 - trunk/debian
bengen at alioth.debian.org
bengen at alioth.debian.org
Thu Feb 21 00:00:31 UTC 2008
Author: bengen
Date: 2008-02-21 00:00:30 +0000 (Thu, 21 Feb 2008)
New Revision: 226
Modified:
trunk/debian/rules
Log:
Made the dfsg-free target somewhat useful (I hope).
Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules 2008-02-20 23:59:04 UTC (rev 225)
+++ trunk/debian/rules 2008-02-21 00:00:30 UTC (rev 226)
@@ -62,7 +62,7 @@
#this won't work.
#This should be only a simple docu what to remove and what to do
#in order to repack the orig tarball.
-dfsg-free:
+dfsg-free: clean
rm -rf ./kBuild
rm -rf ./tools
rm -rf ./src/VBox/Additions/os2
@@ -77,11 +77,21 @@
rm -f ./src/VBox/HostServices/SharedClipboard/linux-stub.cpp
rm -f ./src/VBox/Additions/linux/xmouse/Imakefile
rm -rf ./src/VBox/Additions/linux/selinux-fedora
- rm -rf ./debian/
- find . -type d -name '.svn' | xargs rm -rf;
- cd .. && mv VirtualBox-$(upstreamversion)_OSE virtualbox-ose-$(upstreamversion)-dfsg && \
- tar cfz virtualbox-ose_$(upstreamversion)-dfsg.orig.tar.gz virtualbox-ose-$(upstreamversion)-dfsg
+ ln -s . virtualbox-ose-$(upstreamversion)-dfsg
+ tar czf ../virtualbox-ose_$(upstreamversion)-dfsg.orig.tar.gz \
+ virtualbox-ose-$(upstreamversion)-dfsg/Config.kmk \
+ virtualbox-ose-$(upstreamversion)-dfsg/configure \
+ virtualbox-ose-$(upstreamversion)-dfsg/configure.vbs \
+ virtualbox-ose-$(upstreamversion)-dfsg/COPYING \
+ virtualbox-ose-$(upstreamversion)-dfsg/doc \
+ virtualbox-ose-$(upstreamversion)-dfsg/Doxyfile.Core \
+ virtualbox-ose-$(upstreamversion)-dfsg/include \
+ virtualbox-ose-$(upstreamversion)-dfsg/Makefile.kmk \
+ virtualbox-ose-$(upstreamversion)-dfsg/src
+
+ rm -f virtualbox-ose-$(upstreamversion)-dfsg
+
# install: DH_OPTIONS=
install: build
dh_testdir
More information about the Pkg-virtualbox-commits
mailing list