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

    r23229 r23790  
    11bin_PROGRAMS = ppArith
    22
    3 # PPARITH_VERSION=`if [ -e ../../VERSION ]; then cat ../../VERSION; else svnversion; fi`
    4 # PPARITH_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 # PPARITH_SOURCE=`if [ -e ../../SOURCE ]; then cat ../../SOURCE; else svn info | sed -n -e 's/Repository UUID: // p'; fi`
    6 #
    7 # # Force recompilation of ppArithVersion.c, since it gets the version information
    8 # ppArithVersion.c: FORCE
    9 #       touch ppArith.c
    10 # FORCE: ;
     3# Force recompilation of ppArithVersion.c, since it gets the version information
     4ppArithVersion.c: FORCE
     5        touch ppArith.c
     6FORCE: ;
    117
    12 ppArith_CPPFLAGS = $(PSLIB_CFLAGS) $(PSMODULE_CFLAGS) $(PPSTATS_CFLAGS) $(PSPHOT_CFLAGS) $(PPARITH_CFLAGS) -DPPARITH_VERSION=$(SVN_VERSION) -DPPARITH_BRANCH=$(SVN_BRANCH) -DPPARITH_SOURCE=$(SVN_SOURCE)
     8ppArith_CPPFLAGS = $(PSLIB_CFLAGS) $(PSMODULE_CFLAGS) $(PPSTATS_CFLAGS) $(PSPHOT_CFLAGS) $(PPARITH_CFLAGS) -DPPARITH_VERSION=$(PPARITH_VERSION) -DPPARITH_BRANCH=$(PPARITH_BRANCH) -DPPARITH_SOURCE=$(PPARITH_SOURCE)
    139ppArith_LDFLAGS  = $(PSLIB_LIBS)   $(PSMODULE_LIBS)   $(PPSTATS_LIBS)   $(PSPHOT_LIBS)   $(PPARITH_LIBS)
    1410
Note: See TracChangeset for help on using the changeset viewer.