[SCM] projectm packaging branch, master, updated. upstream/2.0.1+dfsg-51-g83faafe
ximion-guest at users.alioth.debian.org
ximion-guest at users.alioth.debian.org
Tue Jul 20 18:06:34 UTC 2010
The following commit has been merged in the master branch:
commit 83faafe28ad9027c754eb3bb84e4c60127f12cdb
Author: Matthias Klumpp <matthias at nlinux.org>
Date: Tue Jul 20 20:06:11 2010 +0200
Change name of get-orig-source script
* Change the name of the script to make its
intention more clear (The script does not
fetch the sources from the internet, so
"get-orig-source" is the wron name for it.)
diff --git a/debian/rules b/debian/rules
index 86ee035..b5651da 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,11 +9,10 @@ DEB_CMAKE_OPTIONS ?= -DCMAKE_VERBOSE_MAKEFILE=ON \
BUILD_DIR=$(CURDIR)/src/build
-
%:
dh $@
-.PHONY: override_dh_strip get-orig-source
+.PHONY: override_dh_strip
override_dh_auto_clean:
[ ! -f $(BUILD_DIR) ] || $(MAKE) --directory=$(BUILD_DIR) clean
diff --git a/debian/get-orig-source.sh b/debian/strip-source.sh
similarity index 95%
rename from debian/get-orig-source.sh
rename to debian/strip-source.sh
index 31ac732..9540314 100755
--- a/debian/get-orig-source.sh
+++ b/debian/strip-source.sh
@@ -1,6 +1,7 @@
#!/bin/sh
#
-# Script to create a 'pristine' tarball for the debian projectM source package
+# Script to make an existing projectM source tarball DFSG-compliant
+#
# Copyright (C) 2010 Matthias Klumpp
# based on script by Reinhard Tartler
#
@@ -27,7 +28,6 @@ usage: $0 [-dh]
-t : original upstream tarball
-o : output tarball name
-v : upstream version
- -c : path to cleanup script
EOF
}
@@ -78,6 +78,7 @@ trap 'rm -rf ${TMPDIR}' EXIT
mkdir ${TMPDIR}/${PACKAGENAME}
ODIR=`pwd`
cd ${TMPDIR}/${PACKAGENAME}
+
tar xzf ${ORIGTAR}
cd projectM-complete-${USVERSION}-Source
@@ -97,5 +98,4 @@ find . -type d -name CVS -exec rm -rf {} +
find . -type d -name *~ -exec rm {} +
cd ${ODIR}
-
tar czf ${TARBALL} -C ${TMPDIR} ${PACKAGENAME}
--
projectm packaging
More information about the pkg-multimedia-commits
mailing list