aboutsummaryrefslogtreecommitdiff
path: root/src/make.code.deps
diff options
context:
space:
mode:
authorschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2008-03-03 21:24:10 +0000
committerschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2008-03-03 21:24:10 +0000
commit5dc6bf5dbaee733d856efe3a1a19b9dc14341296 (patch)
tree871d656a9576eeaa663c37aa054775ad585165ed /src/make.code.deps
parent0120ee1f037154a81bd13e9b7dde775c65fdeb7e (diff)
Declare the build id etc. as "char const *" instead of "char[]".
Add and commit to the git repository in a perl script instead of directly in the Makefile. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@164 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'src/make.code.deps')
-rw-r--r--src/make.code.deps5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/make.code.deps b/src/make.code.deps
index 424c242..7f48ec8 100644
--- a/src/make.code.deps
+++ b/src/make.code.deps
@@ -8,7 +8,7 @@
TARBALL_DIR = $(SCRATCH_BUILD)
-$(CCTK_TARGET): $(TARBALL_DIR)/gethostname.pl $(TARBALL_DIR)/makeblob.pl $(TARBALL_DIR)/makemetablob.pl
+$(CCTK_TARGET): $(TARBALL_DIR)/gethostname.pl $(TARBALL_DIR)/makeblob.pl $(TARBALL_DIR)/makemetablob.pl $(TARBALL_DIR)/git-commit.pl
@@ -20,3 +20,6 @@ $(TARBALL_DIR)/makeblob.pl: $(SRCDIR)/util/makeblob.pl
$(TARBALL_DIR)/makemetablob.pl: $(SRCDIR)/util/makemetablob.pl
cd $(TARBALL_DIR) && cp $^ $@
+
+$(TARBALL_DIR)/git-commit.pl: $(SRCDIR)/util/git-commit.pl
+ cd $(TARBALL_DIR) && cp $^ $@