[Pkg-wmaker-commits] [wmfrog] 125/145: debian/rules: Update get-orig-source to work with latest version.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Aug 23 05:46:39 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmfrog.
commit a4dd587bb070797b6740dc76eb448a04cee47bed
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Tue Sep 9 22:16:03 2014 -0500
debian/rules: Update get-orig-source to work with latest version.
---
debian/rules | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/debian/rules b/debian/rules
index 2da6973..a3de536 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,9 +10,9 @@ override_dh_auto_build:
get-orig-source:
@git checkout upstream
@git pull https://github.com/tcolar/wmfrog.git
- @grep -Po '(?<=\#define VERSION ").*(?=\")' wmfrog/Src/wmFrog.c \
+ @grep -Po '(?<=\#define VERSION ").*(?=\")' wmfrog/Src/wmfrog.c \
> version
- @git show HEAD^:wmfrog/Src/wmFrog.c | \
+ @git show HEAD^:wmfrog/Src/wmfrog.c | \
grep -Po '(?<=\#define VERSION ").*(?=\")' > oldversion
@if test `cat oldversion` = `cat version` ; then \
echo "`cat version`+git`date -d @\`git log -1 --pretty=format:%ct\` +%Y%m%d`" > version; \
@@ -20,12 +20,7 @@ get-orig-source:
@echo "Enter "`cat version`" at the prompt below:"
@cd wmfrog; \
./builtDist.sh
- @echo "Repacking to remove executable binary..."
- @gunzip wmfrog/dist/wmfrog-`cat version`.tgz
- @tar --delete -f wmfrog/dist/wmfrog-`cat version`.tar Src/wmfrog
- @gzip wmfrog/dist/wmfrog-`cat version`.tar
- @mv -v wmfrog/dist/wmfrog-`cat version`.tar.gz ../wmfrog_`cat version`+ds.orig.tar.gz
- @rm wmfrog/Src/wmfrog
+ @mv -v wmfrog/dist/wmfrog-`cat version`.tgz ../wmfrog_`cat version`.orig.tar.gz
@rm version
@rm oldversion
@git checkout wmfrog/dist/weather.pl
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmfrog.git
More information about the Pkg-wmaker-commits
mailing list