- Timestamp:
- Mar 29, 2015, 5:47:25 AM (11 years ago)
- Location:
- branches/eam_branches/ipp-20150112/psastro/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
Makefile.am (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150112/psastro/src
- Property svn:ignore
-
old new 18 18 psastroExtract 19 19 psastroVersionDefinitions.h 20 psastroVersionDefinitions.h.tmp
-
- Property svn:ignore
-
branches/eam_branches/ipp-20150112/psastro/src/Makefile.am
r26173 r38055 1 1 lib_LTLIBRARIES = libpsastro.la 2 3 if HAVE_SVNVERSION4 PSASTRO_VERSION=`$(SVNVERSION) ..`5 else6 PSASTRO_VERSION="UNKNOWN"7 endif8 9 if HAVE_SVN10 PSASTRO_BRANCH=`$(SVN) info .. | $(SED) -n -e '/URL:/ h' -e '/Repository Root:/ { x; H; x; s|Repository Root: \(.*\)\nURL: \1\(.*\)|\2| ; s|^/|| ; s|/[a-zA-Z]*/src.*|| ; p }'`11 PSASTRO_SOURCE=`$(SVN) info | $(SED) -n -e 's/Repository UUID: // p'`12 else13 PSASTRO_BRANCH="UNKNOWN"14 PSASTRO_SOURCE="UNKNOWN"15 endif16 2 17 3 # Force recompilation of psastroVersion.c, since it gets the version information 18 4 psastroVersion.c: psastroVersionDefinitions.h 19 5 psastroVersionDefinitions.h: psastroVersionDefinitions.h.in FORCE 20 -$(RM) psastroVersionDefinitions.h 21 $(SED) -e "s|@PSASTRO_VERSION@|\"$(PSASTRO_VERSION)\"|" -e "s|@PSASTRO_BRANCH@|\"$(PSASTRO_BRANCH)\"|" -e "s|@PSASTRO_SOURCE@|\"$(PSASTRO_SOURCE)\"|" psastroVersionDefinitions.h.in > psastroVersionDefinitions.h 6 pslib-setsvnversion.pl PSASTRO psastroVersionDefinitions.h.in psastroVersionDefinitions.h 22 7 FORCE: ; 23 8 … … 87 72 88 73 libpsastro_la_SOURCES = \ 74 psastroGalaxyShapeErrors.c \ 89 75 psastroMaskUpdates.c \ 90 76 psastroMaskUtils.c \
Note:
See TracChangeset
for help on using the changeset viewer.
