# -*- mode: makefile -*- # Used by # - MIX/src/Makefile # - LFM-para/src/Makefile # to build # - MIX/src/IO.C # - LFM-para/src/iondump-para.F # - LFM-para/src/hdfdump-para.F # to set the HDF attribute "Global Revision" properly # When creating a release, this should be hard-coded # to the SVN repository release number REPOSITORY_VERSION="LTR-2_1_5-r1995" revision.inc: @bash -c "echo -E '! This file is auto-generated by the LFM build process' >$@" @bash -c "echo -E ' CHARACTER*(*) REPO_REV' >>$@" @bash -c "echo -E ' PARAMETER(REPO_REV=\"${REPOSITORY_VERSION}\0\")' >>$@" revision.h: @bash -c "echo -E '/* This file is auto-generated by the MIX build process */' >$@" @bash -c "echo -E 'const string REPOSITORY_REVISION_NUMBER=\"${REPOSITORY_VERSION}\";' >>$@"