Changeset 38016
- Timestamp:
- Mar 26, 2015, 3:12:16 PM (11 years ago)
- Location:
- branches/eam_branches/ipp-20150326/psLib
- Files:
-
- 3 edited
- 1 moved
-
Makefile.am (modified) (1 diff)
-
etc/Makefile.am (modified) (1 diff)
-
etc/pslib-setsvnversion.pl (moved) (moved from branches/eam_branches/ipp-20150326/psastro/src/setsvnversion.pl ) (1 diff)
-
src/sys/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150326/psLib/Makefile.am
r11493 r38016 1 1 SUBDIRS = m4 $(SUBDIR) 2 2 3 bin_SCRIPTS = pslib-config 3 bin_SCRIPTS = pslib-config 4 4 pkgconfigdir = $(libdir)/pkgconfig 5 5 pkgconfig_DATA= pslib.pc -
branches/eam_branches/ipp-20150326/psLib/etc/Makefile.am
r10577 r38016 1 1 BUILT_SOURCES = pslib.config 2 2 EXTRA_DIST = pslib.config.template 3 4 bin_SCRIPTS = pslib-setsvnversion.pl 3 5 4 6 # this is done instead of using autoconf to delay the expansion of datadir -
branches/eam_branches/ipp-20150326/psLib/etc/pslib-setsvnversion.pl
r38014 r38016 87 87 close (FILE); 88 88 89 if (! -e $ARGV[2]) { 90 if ($VERBOSE) { 91 print "prior $ARGV[2] not found, replacing with $output\n"; 92 } 93 rename $output, $ARGV[2]; 94 exit 0; 95 } 96 89 97 $difflines = `diff $ARGV[2] $output`; 90 98 if ($difflines eq "") { 91 if ($VERBOSE) { print "no change to $ARGV[2], keeping old version\n"; }99 print " setsvnversion.pl: no change to $ARGV[2], keeping old version\n"; 92 100 } else { 93 101 if ($VERBOSE) { -
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.
