Lines 1-9
Link Here
|
1 |
--- include/Makefile.in.orig 2007-08-28 15:39:22.000000000 +0200 |
1 |
--- include/Makefile.in.orig Fri Dec 21 15:00:52 2007 |
2 |
+++ include/Makefile.in 2007-08-28 15:36:52.000000000 +0200 |
2 |
+++ include/Makefile.in Thu Jan 17 20:23:32 2008 |
3 |
@@ -229,7 +229,7 @@ |
3 |
@@ -229,7 +229,7 @@ |
4 |
BUILT_SOURCES = nut_version.h |
4 |
BUILT_SOURCES = nut_version.h nut_stdint.h |
5 |
CLEANFILES = nut_version.h |
5 |
CLEANFILES = nut_version.h nut_stdint.h |
6 |
SVNREV = $(shell svnversion -n $(top_srcdir) 2>/dev/null) |
6 |
SVNREV = $(shell unset LANG && svnversion -n $(top_srcdir) 2>/dev/null) |
7 |
-NUT_VERSION = $(shell if test "$(SVNREV)" = "exported"; then echo "$(PACKAGE_VERSION)"; else echo "$(PACKAGE_VERSION)-$(SVNREV)"; fi) |
7 |
-NUT_VERSION = $(shell if test "$(SVNREV)" = "exported"; then echo "$(PACKAGE_VERSION)"; else echo "$(PACKAGE_VERSION)-$(SVNREV)"; fi) |
8 |
+NUT_VERSION = $(shell if test "$(SVNREV)" = "exported" -o -z "${SVNREV}"; then echo "$(PACKAGE_VERSION)"; else echo "$(PACKAGE_VERSION)-$(SVNREV)"; fi) |
8 |
+NUT_VERSION = $(shell if test "$(SVNREV)" = "exported" -o -z "${SVNREV}"; then echo "$(PACKAGE_VERSION)"; else echo "$(PACKAGE_VERSION)-$(SVNREV)"; fi) |
9 |
all: $(BUILT_SOURCES) config.h |
9 |
all: $(BUILT_SOURCES) config.h |