1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-22 20:35:44 +01:00

propagate package version and user name to trexio.h

This commit is contained in:
q-posev 2021-07-23 15:49:42 +02:00
parent 56df1c8549
commit 856412f06a

View File

@ -3,6 +3,12 @@
# prefixes
cat prefix_front.c > trexio.c
cat prefix_front.h > trexio.h
# grep some usefull constants from the config.h
echo "" >> trexio.h
grep "_VERSION" ../../include/config.h >> trexio.h
grep "_USER_NAME" ../../include/config.h >> trexio.h
echo "" >> trexio.h
cat prefix_s_front.h > trexio_s.h
cat prefix_fortran.f90 > trexio_f.f90