IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 28, 2015, 7:18:18 AM (11 years ago)
Author:
eugene
Message:

replace assert with psAssert in cases where the value is otherwise unused; use pslib-setsvnversino

Location:
trunk/psphot
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot

  • trunk/psphot/src

    • Property svn:ignore
      •  

        old new  
        2727psmakecff
        2828psphotFullForceSummary
         29psphotVersionDefinitions.h.tmp
  • trunk/psphot/src/Makefile.am

    r37941 r38039  
    11lib_LTLIBRARIES = libpsphot.la
    2 
    3 if HAVE_SVNVERSION
    4 PSPHOT_VERSION=`$(SVNVERSION) ..`
    5 else
    6 PSPHOT_VERSION="UNKNOWN"
    7 endif
    8 
    9 if HAVE_SVN
    10 PSPHOT_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 }'`
    11 PSPHOT_SOURCE=`$(SVN) info | $(SED) -n -e 's/Repository UUID: // p'`
    12 else
    13 PSPHOT_BRANCH="UNKNOWN"
    14 PSPHOT_SOURCE="UNKNOWN"
    15 endif
    162
    173# Force recompilation of psphotVersion.c, since it gets the version information
    184psphotVersion.c: psphotVersionDefinitions.h
    195psphotVersionDefinitions.h: psphotVersionDefinitions.h.in FORCE
    20         -$(RM) psphotVersionDefinitions.h
    21         $(SED) -e "s|@PSPHOT_VERSION@|\"$(PSPHOT_VERSION)\"|" -e "s|@PSPHOT_BRANCH@|\"$(PSPHOT_BRANCH)\"|" -e "s|@PSPHOT_SOURCE@|\"$(PSPHOT_SOURCE)\"|" psphotVersionDefinitions.h.in > psphotVersionDefinitions.h
     6        pslib-setsvnversion.pl PSPHOT psphotVersionDefinitions.h.in psphotVersionDefinitions.h
    227FORCE: ;
    238
Note: See TracChangeset for help on using the changeset viewer.