Changeset 38034 for trunk/ippToPsps/src/Makefile.am
- Timestamp:
- Mar 28, 2015, 7:10:18 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/src/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/src/Makefile.am
r35097 r38034 1 if HAVE_SVNVERSION2 IPPTOPSPS_VERSION=`$(SVNVERSION) ..`3 else4 IPPTOPSPS_VERSION="UNKNOWN"5 endif6 7 if HAVE_SVN8 IPPTOPSPS_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 }'`9 IPPTOPSPS_SOURCE=`$(SVN) info | $(SED) -n -e 's/Repository UUID: // p'`10 else11 IPPTOPSPS_BRANCH="UNKNOWN"12 IPPTOPSPS_SOURCE="UNKNOWN"13 endif14 1 15 2 # Force recompilation of ippToPspsVersion.c, since it gets the version information 16 3 Version.c: VersionDefinitions.h 17 4 VersionDefinitions.h: VersionDefinitions.h.in FORCE 18 -$(RM) VersionDefinitions.h 19 $(SED) -e "s|@IPPTOPSPS_VERSION@|\"$(IPPTOPSPS_VERSION)\"|" -e "s|@IPPTOPSPS_BRANCH@|\"$(IPPTOPSPS_BRANCH)\"|" -e "s|@IPPTOPSPS_SOURCE@|\"$(IPPTOPSPS_SOURCE)\"|" VersionDefinitions.h.in > VersionDefinitions.h 5 pslib-setsvnversion.pl IPPTOPSPS VersionDefinitions.h.in VersionDefinitions.h 20 6 FORCE: ; 21 7
Note:
See TracChangeset
for help on using the changeset viewer.
