[yorick-ygsl] 02/10: Build archive is now possible from the build directory
Thibaut Jean-Claude Paumard
thibaut at moszumanska.debian.org
Thu Dec 1 13:27:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
thibaut pushed a commit to branch upstream
in repository yorick-ygsl.
commit c8e47bc92b8bf37afd7882577424029d9fe68787
Author: Éric Thiébaut <eric.thiebaut at univ-lyon1.fr>
Date: Sat Feb 27 10:52:31 2016 +0100
Build archive is now possible from the build directory
---
Makefile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 73fe920..33e41d3 100644
--- a/Makefile
+++ b/Makefile
@@ -119,9 +119,10 @@ $(RELEASE_NAME):
echo >&2 "directory $$dir already exists"; \
else \
mkdir -p "$$dir"; \
- for src in $(RELEASE_FILES); do \
- dst="$$dir/$$src"; \
- if test "$$src" = "Makefile"; then \
+ for file in $(RELEASE_FILES); do \
+ src="$(srcdir)/$$file"; \
+ dst="$$dir/$$file"; \
+ if test "$$file" = "Makefile"; then \
sed <"$$src" >"$$dst" -e 's/^\( *Y_\(MAKEDIR\|EXE\(\|_PKGS\|_HOME\|_SITE\)\|HOME_PKG\) *=\).*/\1/'; \
touch -r "$$src" "$$dst"; \
else \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/yorick-ygsl.git
More information about the debian-science-commits
mailing list