Changeset 38034 for trunk/ppbgrestore/src/Makefile.am
- Timestamp:
- Mar 28, 2015, 7:10:18 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/ppbgrestore/src/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppbgrestore/src/Makefile.am
r25973 r38034 1 1 bin_PROGRAMS = ppbgrestore 2 3 2 4 3 noinst_HEADERS = \ 5 4 ppbgrestore.h 6 5 7 if HAVE_SVNVERSION8 PPBGRESTORE_VERSION=`$(SVNVERSION) ..`9 else10 PPBGRESTORE_VERSION="UNKNOWN"11 endif12 13 if HAVE_SVN14 PPBGRESTORE_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 }'`15 PPBGRESTORE_SOURCE=`$(SVN) info | $(SED) -n -e 's/Repository UUID: // p'`16 else17 PPBGRESTORE_BRANCH="UNKNOWN"18 PPBGRESTORE_SOURCE="UNKNOWN"19 endif20 21 6 # Force recompilation of ppbgrestoreVersion.c, since it gets the version information 22 7 ppbgrestoreVersion.c: ppbgrestoreVersionDefinitions.h 23 8 ppbgrestoreVersionDefinitions.h: ppbgrestoreVersionDefinitions.h.in FORCE 24 -$(RM) ppbgrestoreVersionDefinitions.h 25 $(SED) -e "s|@PPBGRESTORE_VERSION@|\"$(PPBGRESTORE_VERSION)\"|" -e "s|@PPBGRESTORE_BRANCH@|\"$(PPBGRESTORE_BRANCH)\"|" -e "s|@PPBGRESTORE_SOURCE@|\"$(PPBGRESTORE_SOURCE)\"|" ppbgrestoreVersionDefinitions.h.in > ppbgrestoreVersionDefinitions.h 9 pslib-setsvnversion.pl PPBGRESTORE ppbgrestoreVersionDefinitions.h.in ppbgrestoreVersionDefinitions.h 26 10 FORCE: ; 27 11
Note:
See TracChangeset
for help on using the changeset viewer.
