From e8fa3e492b12dc6e7d30b08566c37c59bce5e38c Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 15 Jul 2006 09:02:11 -0300 Subject: Make snapshot now working fine with hg From: Mauro Carvalho Chehab This will allow generating periodic snapshots of the tree. Signed-off-by: Mauro Carvalho Chehab --- v4l/Makefile | 4 ++-- v4l/scripts/changelog.tmpl | 5 +++++ v4l/scripts/map-changelog | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 v4l/scripts/changelog.tmpl create mode 100644 v4l/scripts/map-changelog diff --git a/v4l/Makefile b/v4l/Makefile index 663369674..63d3fe48a 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -356,7 +356,7 @@ help:: RPWD := $(shell cd .. && pwd) thisdir := $(notdir $(RPWD)) -name := $(thisdir) +name := v4l-dvb date := $(shell date +%Y%m%d) tardest ?= . @@ -368,5 +368,5 @@ snapshot snap tarball:: update distclean echo $(name) echo $(date) > .snapshot (cd ..; tar czf $(snapdir)/$(snap)-$(date).tar.gz .) - cp ChangeLog /$(snapdir)/$(snap)-ChangeLog-$(date) + hg history --style scripts/map-changelog > /$(snapdir)/$(snap)-ChangeLog-$(date) $(MAKE) -C $(snapdir) diff --git a/v4l/scripts/changelog.tmpl b/v4l/scripts/changelog.tmpl new file mode 100644 index 000000000..c1e5cb176 --- /dev/null +++ b/v4l/scripts/changelog.tmpl @@ -0,0 +1,5 @@ +User #author# +Date #date|date# +#desc# + +--- diff --git a/v4l/scripts/map-changelog b/v4l/scripts/map-changelog new file mode 100644 index 000000000..cc5caeb1c --- /dev/null +++ b/v4l/scripts/map-changelog @@ -0,0 +1 @@ +changeset = changelog.tmpl -- cgit v1.2.3