Commit da8e784b authored by mnb's avatar mnb
Browse files

Added more git details to put in the 2dfdr_version.dat file

parent 3294845d
......@@ -15,8 +15,11 @@ BASE=`pwd`
# List of files to be linked from 2dfdr_ac to 2dfdr_ac/build.
LINKFILES="GNUmakefile.am configure.ac Makefile.drama_rules acinclude.m4 Makefile TargetOpts Makefile.2dfdr_rules 2dfdr_ac.cfg README INSTALL BuildTargetName save_times.sh"
# Create a git description file and place it into 2dfdr_build
cd 2dfdr_ac; git describe > ../2dfdr_build/2dfdr_version.dat; cd ..
# Create a git tag and HEX id description file and place it into 2dfdr_build
cd 2dfdr_ac; \
git log --pretty --format="%D" -n1 > ../2dfdr_build/2dfdr_version.dat;
git log --pretty --format="%H" -n1 >> ../2dfdr_build/2dfdr_version.dat;
git describe >> ../2dfdr_build/2dfdr_version.dat; cd ..
# Move into the build directory.
cd 2dfdr_build
......
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