snapshot target
Add Makefile target to create snapshot file. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
This commit is contained in:
parent
c595fda55b
commit
235ac6a41d
4
Makefile
4
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; \
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
static char SNAPSHOT[] = "071016";
|
||||
static const char SNAPSHOT[] = "071221";
|
||||
|
|
|
|||
Loading…
Reference in New Issue