IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 9, 2009, 5:22:45 PM (17 years ago)
Author:
Paul Price
Message:

Applying good way to set version information.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/Makefile.am

    r23243 r23788  
    11noinst_LTLIBRARIES = libpsmodulesconfig.la
    22
    3 # PSMODULES_VERSION=`if [ -e ../../VERSION ]; then cat ../../VERSION; else svnversion; fi`
    4 # PSMODULES_BRANCH=`if [ -e ../../BRANCH ]; then cat ../../BRANCH; else 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 }'; fi`
    5 # PSMODULES_SOURCE=`if [ -e ../../SOURCE ]; then cat ../../SOURCE; else svn info | sed -n -e 's/Repository UUID: // p'; fi`
     3# Force recompilation of pmVersion.c, since it gets the version information
     4pmVersion.c: FORCE
     5        touch pmVersion.c
     6FORCE: ;
    67
    7 # Force recompilation of pmVersion.c, since it gets the version information
    8 # pmVersion.c: FORCE
    9 #       touch pmVersion.c
    10 # FORCE: ;
    11 
    12 libpsmodulesconfig_la_CPPFLAGS = $(SRCINC) $(PSMODULES_CFLAGS) -DPSMODULES_VERSION=$(SVN_VERSION) -DPSMODULES_BRANCH=$(SVN_BRANCH) -DPSMODULES_SOURCE=$(SVN_SOURCE)
     8libpsmodulesconfig_la_CPPFLAGS = $(SRCINC) $(PSMODULES_CFLAGS) -DPSMODULES_VERSION=$(PSMODULES_VERSION) -DPSMODULES_BRANCH=$(PSMODULES_BRANCH) -DPSMODULES_SOURCE=$(PSMODULES_SOURCE)
    139libpsmodulesconfig_la_LDFLAGS  = -release $(PACKAGE_VERSION)
    1410libpsmodulesconfig_la_SOURCES  = \
Note: See TracChangeset for help on using the changeset viewer.