diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-10-09 22:53:24 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-10-09 22:53:24 +0000 |
commit | 6e916afeb83201802467460fc290e6c8ecab3611 (patch) | |
tree | 0362162a88ee16babd379585ccb8342fa77ca155 | |
parent | 5e02f7f20ea6e3a60f19fc32b1468a3a998ba8ef (diff) | |
download | mediapointer-dvb-s2-6e916afeb83201802467460fc290e6c8ecab3611.tar.gz mediapointer-dvb-s2-6e916afeb83201802467460fc290e6c8ecab3611.tar.bz2 |
- make snap updated.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
-rw-r--r-- | v4l/ChangeLog | 7 | ||||
-rw-r--r-- | v4l/Makefile | 24 |
2 files changed, 18 insertions, 13 deletions
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 <mchehab@brturbo.com.br> + 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 |