- Timestamp:
- Mar 26, 2015, 3:12:16 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150326/psLib/src/sys/Makefile.am
r23807 r38016 3 3 noinst_LTLIBRARIES = libpslibsys.la 4 4 5 if HAVE_SVNVERSION6 PSLIB_VERSION=`$(SVNVERSION) ../..`7 else8 PSLIB_VERSION="UNKNOWN"9 endif10 11 if HAVE_SVN12 PSLIB_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 }'`13 PSLIB_SOURCE=`$(SVN) info | $(SED) -n -e 's/Repository UUID: // p'`14 else15 PSLIB_BRANCH="UNKNOWN"16 PSLIB_SOURCE="UNKNOWN"17 endif18 19 5 # Force recompilation of psConfigure.c, since it gets the version information 20 6 psConfigure.c: psVersionDefinitions.h 21 7 psVersionDefinitions.h: psVersionDefinitions.h.in FORCE 22 -$(RM) psVersionDefinitions.h 23 $(SED) -e "s|@PSLIB_VERSION@|\"$(PSLIB_VERSION)\"|" -e "s|@PSLIB_BRANCH@|\"$(PSLIB_BRANCH)\"|" -e "s|@PSLIB_SOURCE@|\"$(PSLIB_SOURCE)\"|" psVersionDefinitions.h.in > psVersionDefinitions.h 8 ../../etc/pslib-setsvnversion.pl PSLIB psVersionDefinitions.h.in psVersionDefinitions.h 24 9 FORCE: ; 25 10
Note:
See TracChangeset
for help on using the changeset viewer.
