IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23790 for trunk/psphot/src


Ignore:
Timestamp:
Apr 9, 2009, 6:06:36 PM (17 years ago)
Author:
Paul Price
Message:

Fixed version information in builds: determined separately (and singly!) for each component

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/Makefile.am

    r23229 r23790  
    11lib_LTLIBRARIES = libpsphot.la
    22
    3 # PSPHOT_VERSION=`if [ -e ../../VERSION ]; then cat ../../VERSION; else svnversion; fi`
    4 # PSPHOT_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 # PSPHOT_SOURCE=`if [ -e ../../SOURCE ]; then cat ../../SOURCE; else svn info | sed -n -e 's/Repository UUID: // p'; fi`
    6 #
    7 # # Force recompilation of psphotVersion.c, since it gets the version information
    8 # psphotVersion.c: FORCE
    9 #       touch psphotVersion.c
    10 # FORCE: ;
     3# Force recompilation of psphotVersion.c, since it gets the version information
     4psphotVersion.c: FORCE
     5        touch psphotVersion.c
     6FORCE: ;
    117
    12 libpsphot_la_CFLAGS = $(PSPHOT_CFLAGS) $(PSMODULE_CFLAGS) $(PSLIB_CFLAGS) -DPSPHOT_VERSION=$(PSPHOT_VERSION) -DPSPHOT_BRANCH=$(PSPHOT_BRANCH) -DPSPHOT_SOURCE=$(SVN_SOURCE)
     8libpsphot_la_CFLAGS = $(PSPHOT_CFLAGS) $(PSMODULE_CFLAGS) $(PSLIB_CFLAGS) -DPSPHOT_VERSION=$(PSPHOT_VERSION) -DPSPHOT_BRANCH=$(PSPHOT_BRANCH) -DPSPHOT_SOURCE=$(PSPHOT_SOURCE)
    139libpsphot_la_LDFLAGS = $(PSPHOT_LIBS) $(PSMODULE_LIBS) $(PSLIB_LIBS)
    1410
Note: See TracChangeset for help on using the changeset viewer.