1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-08-25 06:31:43 +02: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 # prefixes
cat prefix_front.c > trexio.c cat prefix_front.c > trexio.c
cat prefix_front.h > trexio.h 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_s_front.h > trexio_s.h
cat prefix_fortran.f90 > trexio_f.f90 cat prefix_fortran.f90 > trexio_f.f90