Make the revision file if it does not exist.

This commit is contained in:
Jan Vidar Krey 2010-02-25 16:38:05 +01:00
parent 59ed268f4d
commit 2ded9f3e09

View File

@ -225,7 +225,8 @@ revision.h.tmp:
version.h: revision.h
revision.h: revision.h.tmp
@if [ '$(GIT_REVISION)' != '$(OLD_REVISION)' ]; then cat $@.tmp > $@; fi
@if [ '$(GIT_REVISION)' != '$(OLD_REVISION)' ]; then cp $@.tmp $@; fi
@if [ ! -f $@ ]; then cp $@.tmp $@; fi
$(autotest_OBJECTS): autotest.c
$(MSG_CC) $(CC) -c $(CFLAGS) -Isrc -o $@ $<