[elmer-doc] 02/03: Tiny cosmetic changes in debian/rules.

Boris Pek tehnick at moszumanska.debian.org
Thu Oct 30 21:31:45 UTC 2014


This is an automated email from the git hooks/post-receive script.

tehnick pushed a commit to branch master
in repository elmer-doc.

commit d5920c1b1198004834ca43daea32ceee34ca0d0f
Author: Boris Pek <tehnick-8 at yandex.ru>
Date:   Fri Oct 31 00:18:20 2014 +0300

    Tiny cosmetic changes in debian/rules.
---
 debian/rules | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index c70d7b9..3f58efc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,12 +8,21 @@ override_dh_compress:
 
 
 PACKAGE = elmer-doc
-DOCS = ElmerGridFiles.tar.gz ElmerGridManual.pdf ElmerModelsManual.pdf \
-       ElmerOverview.pdf ElmerParamManual.pdf ElmerProgrammersTutorial.pdf \
-       ElmerSolverManual.pdf ElmerTutorialFilesGUI.tar.gz ElmerTutorials.pdf \
-       ElmerTutorialsFiles_nonGUI.tar.gz ElmerguiManual.pdf MATCManual.pdf \
+DOCS = ElmerGridManual.pdf \
+       ElmerModelsManual.pdf \
+       ElmerOverview.pdf \
+       ElmerParamManual.pdf \
+       ElmerProgrammersTutorial.pdf \
+       ElmerSolverManual.pdf \
+       ElmerTutorials.pdf \
+       ElmerguiManual.pdf \
+       MATCManual.pdf \
        README.txt
 
+SAMPLES = ElmerGridFiles.tar.gz \
+          ElmerTutorialFilesGUI.tar.gz \
+          ElmerTutorialsFiles_nonGUI.tar.gz
+
 LAST_MOD=$(shell curl -I 'ftp://ftp.funet.fi/index/elmer/doc/ElmerDocumentation.tar.gz' 2>&1 | sed -ne "s/^.*Last-Modified: \(.*\) GMT.*/\1/p")
 NEW_VER=$(shell date -d "$(LAST_MOD)" "+%Y.%m.%d")
 
@@ -21,7 +30,10 @@ get-orig-source:
 	rm -rf "$(PACKAGE)-$(NEW_VER)"
 	mkdir "$(PACKAGE)-$(NEW_VER)"
 	cd "$(PACKAGE)-$(NEW_VER)" && for FILE in $(DOCS); do \
-		 wget -4 "ftp://ftp.funet.fi/index/elmer/doc/$$FILE" 2> /dev/null; \
+		 wget -c "ftp://ftp.funet.fi/index/elmer/doc/$$FILE" 2> /dev/null; \
+	done
+	cd "$(PACKAGE)-$(NEW_VER)" && for FILE in $(SAMPLES); do \
+		 wget -c "ftp://ftp.funet.fi/index/elmer/doc/$$FILE" 2> /dev/null; \
 	done
 	tar -czf "$(PACKAGE)_$(NEW_VER).orig.tar.gz" "$(PACKAGE)-$(NEW_VER)"
 	rm -rf "$(PACKAGE)-$(NEW_VER)"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/elmer-doc.git



More information about the debian-science-commits mailing list