IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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/ppSub/src/Makefile.am

    r23753 r23790  
    11bin_PROGRAMS = ppSub ppSubKernel
    22
    3 # PPSUB_VERSION=`if [ -e ../../VERSION ]; then cat ../../VERSION; else svnversion; fi`
    4 # PPSUB_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 # PPSUB_SOURCE=`if [ -e ../../SOURCE ]; then cat ../../SOURCE; else svn info | sed -n -e 's/Repository UUID: // p'; fi`
    6 #
    7 # # Force recompilation of ppSubVersion.c, since it gets the version information
    8 # ppSubVersion.c: FORCE
    9 #       touch ppSubVersion.c
    10 # FORCE: ;
     3# Force recompilation of ppSubVersion.c, since it gets the version information
     4ppSubVersion.c: FORCE
     5        touch ppSubVersion.c
     6FORCE: ;
    117
    12 ppSub_CPPFLAGS = $(PSLIB_CFLAGS) $(PSMODULE_CFLAGS) $(PPSTATS_CFLAGS) $(PSPHOT_CFLAGS) $(PPSUB_CFLAGS) -DPPSUB_VERSION=$(SVN_VERSION) -DPPSUB_BRANCH=$(SVN_BRANCH) -DPPSUB_SOURCE=$(SVN_SOURCE)
     8ppSub_CPPFLAGS = $(PSLIB_CFLAGS) $(PSMODULE_CFLAGS) $(PPSTATS_CFLAGS) $(PSPHOT_CFLAGS) $(PPSUB_CFLAGS) -DPPSUB_VERSION=$(PPSUB_VERSION) -DPPSUB_BRANCH=$(PPSUB_BRANCH) -DPPSUB_SOURCE=$(PPSUB_SOURCE)
    139ppSub_LDFLAGS  = $(PSLIB_LIBS)   $(PSMODULE_LIBS)   $(PPSTATS_LIBS)   $(PSPHOT_LIBS)   $(PPSUB_LIBS)
    1410
Note: See TracChangeset for help on using the changeset viewer.