PUD: keep version.h in git, preventing a warning
authorFerry Huberts <f.huberts@mindef.nl>
Mon, 10 Oct 2011 11:24:52 +0000 (13:24 +0200)
committerFerry Huberts <f.huberts@mindef.nl>
Mon, 10 Oct 2011 11:24:52 +0000 (13:24 +0200)
Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
lib/pud/.gitignore
lib/pud/Makefile
lib/pud/src/version.h [new file with mode: 0644]

index b4d46a8..2134d63 100644 (file)
@@ -1,2 +1 @@
 /olsrd.lock
-/src/version.h
index 43bfcbb..458fc99 100644 (file)
@@ -54,7 +54,7 @@ uninstall:
 
 clean: doc-clean
        @echo "[$@]"
-       @rm -f $(OBJS) $(SRCS:%.c=%.d) "$(PLUGIN_FULLNAME)" "$(VERSION_FILE)"
+       @rm -f $(OBJS) $(SRCS:%.c=%.d) "$(PLUGIN_FULLNAME)"
 
 dist:                          distclean
 distclean:                     clean
diff --git a/lib/pud/src/version.h b/lib/pud/src/version.h
new file mode 100644 (file)
index 0000000..bd9664c
--- /dev/null
@@ -0,0 +1,7 @@
+#ifndef _PUD_VERSION_H_
+#define _PUD_VERSION_H_
+
+#define PLUGIN_VER "1.0.0"
+#define GIT_SHA    "OLSRD_Unknown-g0000000"
+
+#endif /* _PUD_VERSION_H_ */