summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-09-11 20:48:58 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-09-11 20:48:58 +0200
commitd6c4781b303a1f0395abf592ffafa551e6d03949 (patch)
tree177d201cab30dac79e5f9e4dd12129eaf8eb9eed
parentd94b2fca03cc2ec8e5eb699590666da4ecc682a7 (diff)
d/rules: Rewrite get-orig-source
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/rules6
2 files changed, 6 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 11ee396..d5f71fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
fast-cpp-csv-parser (0.0+git20160911~9bf299c-1) UNRELEASED; urgency=medium
+ * New upstream release.
* debian/control:
- Move homepage to github.
- Bump Standards-Version to 3.9.8 (no changes required).
@@ -9,7 +10,7 @@ fast-cpp-csv-parser (0.0+git20160911~9bf299c-1) UNRELEASED; urgency=medium
* Remove debian/source/options because compression xz is standard now.
* Bump compat level to 10 (no changes required).
* debian/rules:
- - Change get-orig-source link to github.
+ - Rewrite get-orig-source to get all files.
-- Jörg Frings-Fürst <debian@jff-webhosting.net> Sun, 11 Sep 2016 14:44:39 +0200
diff --git a/debian/rules b/debian/rules
index 97ca960..06ebe3c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,5 +14,7 @@ override_dh_auto_build:
get-orig-source: $(info I: $(PKG)_$(VER))
cd ${CURDIR}
- wget https://raw.githubusercontent.com/ben-strasser/fast-cpp-csv-parser/master/csv.h -O csv.h
- tar -cJf ../$(PKG)_$(VER).orig.tar.xz *.h
+ git clone https://github.com/ben-strasser/fast-cpp-csv-parser.git ../$(PKG)_$(VER)
+ $(RM) -r ../$(PKG)_$(VER)/.git
+ tar -cJf ../$(PKG)_$(VER).orig.tar.xz ../$(PKG)_$(VER)
+ $(RM) -r ../$(PKG)_$(VER)