From 6e916afeb83201802467460fc290e6c8ecab3611 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 9 Oct 2005 22:53:24 +0000 Subject: - make snap updated. Signed-off-by: Mauro Carvalho Chehab --- v4l/ChangeLog | 7 +++++++ v4l/Makefile | 24 +++++++++++------------- 2 files changed, 18 insertions(+), 13 deletions(-) (limited to 'v4l') diff --git a/v4l/ChangeLog b/v4l/ChangeLog index 6c1275fa8..21043a1d8 100644 --- a/v4l/ChangeLog +++ b/v4l/ChangeLog @@ -1,3 +1,10 @@ +2005-10-09 22:50 mchehab + + * ../v4l/Makefile: + - snapshot feature updated. + + Signed-off-by: Mauro Carvalho Chehab + 2005-10-09 22:31 mkrufky * ../v4l/Make.config: diff --git a/v4l/Makefile b/v4l/Makefile index c81c99c0c..1b5bc769a 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -267,10 +267,10 @@ distclean:: clean -rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd -rm -rf .tmp_versions -changelog:: +change changes changelog:: make -C .. changelog -commit:: +cvscommit cvs commit:: cd ..; cvs commit .version: @@ -285,23 +285,21 @@ endif ################################################# # build tarballs -thisdir := $(notdir $(PWD)) -name := $(shell echo $(thisdir) | sed 's/-.*//') -ver := $(shell echo $(thisdir) | sed 's/.*-//') +RPWD := $(shell cd .. && pwd) +thisdir := $(notdir $(RPWD)) +name := $(thisdir) date := $(shell date +%Y%m%d) tardest ?= . snapdir := $(HOME)/snapshot -snap ?= $(name) - -release: clean - rm -f .snapshot - (cd ..; tar cvzf $(tardest)/$(name)-$(ver).tar.gz $(thisdir)) +snap := $(name) snapshot snap tarball: clean + echo $(thisdir) + echo $(name) echo $(date) > .snapshot - (cd ..; tar czf $(snapdir)/$(snap)-$(date).tar.gz $(thisdir)) - cp ChangeLog /$(snapdir)/ChangeLog-$(date) + (cd ..; tar czf $(snapdir)/$(snap)-$(date).tar.gz .) + cp ChangeLog /$(snapdir)/$(snap)-ChangeLog-$(date) $(MAKE) -C $(snapdir) @@ -311,6 +309,6 @@ snapshot snap tarball: clean %.asm: %.o objdump -S $< > $@ -cardlists: +card cardlist cardlists: scripts/cardlist -- cgit v1.2.3