aboutsummaryrefslogtreecommitdiff
path: root/Recipe
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-05-15 10:58:09 +0000
committerSimon Tatham <anakin@pobox.com>2005-05-15 10:58:09 +0000
commit3dfeadd7389c0dc7b54be7ab3ad201ea6b98b5b4 (patch)
treeae5e5ea38e415d7ffe4ad5e0b690dfc44dd681bc /Recipe
parent1add9dcc1bd28f86d9e3f6582e0d43ecbcd88301 (diff)
downloadpuzzles-3dfeadd7389c0dc7b54be7ab3ad201ea6b98b5b4.zip
puzzles-3dfeadd7389c0dc7b54be7ab3ad201ea6b98b5b4.tar.gz
puzzles-3dfeadd7389c0dc7b54be7ab3ad201ea6b98b5b4.tar.bz2
puzzles-3dfeadd7389c0dc7b54be7ab3ad201ea6b98b5b4.tar.xz
Er, except that I already had a makedist.sh. Transferred new version
code into that! [originally from svn r5783]
Diffstat (limited to 'Recipe')
-rw-r--r--Recipe4
1 files changed, 2 insertions, 2 deletions
diff --git a/Recipe b/Recipe
index c79f9a9..6b10194 100644
--- a/Recipe
+++ b/Recipe
@@ -104,7 +104,7 @@ version.o: FORCE;
FORCE:
if test -z "$(VER)" && test -f manifest && md5sum -c manifest; then \
$(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) `cat version.def` -c version.c; \
- elif test -z "$(VER)" && svnversion . >&/dev/null; then \
+ elif test -z "$(VER)" && test -d .svn && svnversion . >&/dev/null; then \
$(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) "-DREVISION=`svnversion .`" -c version.c; \
else \
$(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) $(VER) -c version.c; \
@@ -119,7 +119,7 @@ version.o: FORCE;
FORCE:
if test -z "$(VER)" && test -f manifest && (md5 -r `awk '{print $$2}' manifest` | diff -w manifest -); then \
$(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) `cat version.def` -c version.c; \
- elif test -z "$(VER)" && svnversion . >&/dev/null; then \
+ elif test -z "$(VER)" && test -d .svn && svnversion . >&/dev/null; then \
$(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) "-DREVISION=`svnversion .`" -c version.c; \
else \
$(CC) $(COMPAT) $(XFLAGS) $(CFLAGS) $(VER) -c version.c; \