Changeset 443


Ignore:
Timestamp:
06/11/2009 23:40:54 (15 months ago)
Author:
douglas
Message:

Make the version thingy withstand weird svn states.

Location:
finger
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • finger/GNUmakefile

    r441 r443  
    1111 
    1212arches := $(patsubst %,.%,x86 x64) 
    13 fingerd_version := $(shell svnversion) 
     13fingerd_version := $(shell version.cmd) 
    1414installer := fingerd-$(fingerd_version).exe 
    1515 
  • finger/setup.cmd

    • Property svn:keywords set to Id
  • finger/version.cmd

    • Property svn:keywords set to Id
    r420 r443  
    11@echo off 
    22rem CCS Computer Science 
    3 rem   Build Finger Daemon 
     3rem   Finger Daemon Version 
    44rem 
    55rem Douglas Thrift 
    66rem 
    77rem $Id$ 
    8 setlocal enableextensions enabledelayedexpansion 
    9 if /i "%~1"=="x86" set PythonPlatform=win32 & goto begin 
    10 if /i "%~1"=="x64" set PythonPlatform=win-amd64 & goto begin 
    11 if /i "%~1"=="ia64" set PythonPlatform=win-ia64 & goto begin 
    12 echo Usage: %0 [x86^|x64^|ia64] 
    13 goto end 
    14 :begin 
    15 set DISTUTILS_USE_SDK=y 
    16 set SetEnv="C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.Cmd" 
    17 call %SetEnv% /Release /%~1 /xp 
    18 color 07 
    19 title Command Prompt 
    20 setup.py build -p %PythonPlatform% clean 
    21 if errorlevel 1 goto end 
    22 C:\cygwin\bin\touch.exe .%~1 
    23 attrib +H .%~1 
    24 :end 
    25 endlocal 
     8svnversion | sed -re "s/^[0-9]+://" 
Note: See TracChangeset for help on using the changeset viewer.