[hdf4] 02/05: Use original source tarball rather than a tarball containing this tarball
Johan Van de Wauw
johanvdw-guest at moszumanska.debian.org
Wed Aug 27 20:10:10 UTC 2014
This is an automated email from the git hooks/post-receive script.
johanvdw-guest pushed a commit to branch master
in repository hdf4.
commit e063a9ce52985424a42f25f9edf0e861e3d3b76e
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date: Mon Aug 18 16:47:24 2014 +0200
Use original source tarball rather than a tarball containing this tarball
---
debian/rules | 20 ++++----------------
1 file changed, 4 insertions(+), 16 deletions(-)
diff --git a/debian/rules b/debian/rules
index 61f5960..eb307df 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,24 +39,12 @@ install: stamps/install-stamp
install-doc: stamps/install-doc-stamp
binary: debian/control binary-indep binary-arch
-
-
-
-
-download-upstream: $(ARCHIVE)
- mkdir -p $(CURDIR)/upstream || true
- wget -O $(CURDIR)/upstream/HDF$(RELEASE).tar.gz ftp://ftp.hdfgroup.org/HDF/HDF_Current/src/HDF$(RELEASE).tar.gz
-
-create-orig-tar: $(ARCHIVE)
- dh_testdir
- mkdir -p tmp/libhdf4-$(RELEASE)/upstream
- cp $(ARCHIVE) tmp/libhdf4-$(RELEASE)/upstream/.
- tar czf ../libhdf4_$(RELEASE).orig.tar.gz -C tmp libhdf4-$(RELEASE)
- rm -rf tmp
-
stamps/unpack-stamp: debian/control
dh_testdir
- tar xzf $(ARCHIVE)
+ mkdir HDF$(RELEASE)
+#does not work using dash
+# cp -a !(debian|HDF$(RELEASE)) HDF$(RELEASE)
+ rsync -a --exclude debian --exclude HDF$(RELEASE) . HDF$(RELEASE)
cp -a HDF$(RELEASE) HDF4_ALT
mkdir -p stamps
touch $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/hdf4.git
More information about the Pkg-grass-devel
mailing list