]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/blobdiff - Makefile
snapshot target
[lisovros/iproute2_canprio.git] / Makefile
index 6c976dd990d828a0ff691567467079bca82383d3..de04176dcacdf0e195381e649c9272fb2b8b125a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -59,6 +59,10 @@ install: all
        install -m 0755 -d $(DESTDIR)$(MANDIR)/man3
        install -m 0644 $(shell find man/man3 -maxdepth 1 -type f) $(DESTDIR)$(MANDIR)/man3
 
+snapshot:
+       echo "static const char SNAPSHOT[] = \""`date +%y%m%d`"\";" \
+               > include/SNAPSHOT.h
+
 clean:
        rm -f cscope.*
        @for i in $(SUBDIRS) doc; \