Commit f39512c1 authored by Frank Siegert's avatar Frank Siegert Committed by Steffen

Update git.make to fix compilation error with tarball from Gitlab

parent 3e4cf7a3
......@@ -6,12 +6,9 @@ Git_Info.C: Git_Info.C.in
if test -f $(srcdir)/$@; then \
cp $(srcdir)/$@ $@.tmp; chmod u+rw $@.tmp; \
else \
echo "***************************************************"; \
echo "* Incomplete sources and no git information. This *"; \
echo "* copy of Sherpa will not be supported. Please *"; \
echo "* contact sherpa@projects.hepforge.org for help. *"; \
echo "***************************************************"; \
exit 1; \
echo '#include "ATOOLS/Org/Git_Info.H"' > $@.tmp; \
echo 'static ATOOLS::Git_Info initializer' >> $@.tmp; \
echo '("$(GITTAG)","unknown","unknown","X");' >> $@.tmp; \
fi; \
else \
rev=$$(cd $(top_srcdir); git rev-parse HEAD); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment