Changeset 9182 in project


Ignore:
Timestamp:
03/06/08 02:34:40 (12 years ago)
Author:
elf
Message:

fixed incorrect build rule - get-svn-revision should have been buildsvnrevision

Location:
chicken/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/Makefile.cygwin

    r8361 r9182  
    8282include defaults.make
    8383
    84 chicken-config.h: chicken-defaults.h
    85         echo "#define HAVE_DIRENT_H 1" >$@
     84chicken-config.h: chicken-defaults.h buildsvnrevision
     85        echo "#define C_SVN_REVISION $(shell cat buildsvnrevision)" >$@
     86        echo "#define HAVE_DIRENT_H 1" >>$@
    8687        echo "#define HAVE_INTTYPES_H 1" >>$@
    8788        echo "#define HAVE_LIMITS_H 1" >>$@
  • chicken/trunk/defaults.make

    r8647 r9182  
    306306# main rule
    307307
    308 .PHONY: all get-svn-revision
     308.PHONY: all buildsvnrevision
    309309
    310310ifdef NO_UNIX_SHELL
    311311all: $(TARGETS)
    312312else
    313 all: get-svn-revision $(TARGETS)
    314 endif
    315 
    316 get-svn-revision:
     313all: buildsvnrevision $(TARGETS)
     314endif
     315
     316buildsvnrevision:
    317317        sh svnrevision.sh
    318318
Note: See TracChangeset for help on using the changeset viewer.