Commit 235ac6a4 authored by Stephen Hemminger's avatar Stephen Hemminger

snapshot target

Add Makefile target to create snapshot file.
Signed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
parent c595fda5
......@@ -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; \
......
static char SNAPSHOT[] = "071016";
static const char SNAPSHOT[] = "071221";
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment