Changeset 25973 for trunk/ppbgrestore/src/Makefile.am
- Timestamp:
- Oct 30, 2009, 3:47:06 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppbgrestore/src/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppbgrestore/src/Makefile.am
r25972 r25973 4 4 noinst_HEADERS = \ 5 5 ppbgrestore.h 6 7 if HAVE_SVNVERSION 8 PPBGRESTORE_VERSION=`$(SVNVERSION) ..` 9 else 10 PPBGRESTORE_VERSION="UNKNOWN" 11 endif 12 13 if HAVE_SVN 14 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 else 17 PPBGRESTORE_BRANCH="UNKNOWN" 18 PPBGRESTORE_SOURCE="UNKNOWN" 19 endif 20 21 # Force recompilation of ppbgrestoreVersion.c, since it gets the version information 22 ppbgrestoreVersion.c: ppbgrestoreVersionDefinitions.h 23 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 26 FORCE: ; 27 28 29 BUILT_SOURCES = ppbgrestoreVersionDefinitions.h 6 30 7 31 ppbgrestore_CPPFLAGS = $(PSPHOT_CFLAGS) $(PSMODULE_CFLAGS) $(PSLIB_CFLAGS)
Note:
See TracChangeset
for help on using the changeset viewer.
