summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-07-15 09:02:11 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-07-15 09:02:11 -0300
commite8fa3e492b12dc6e7d30b08566c37c59bce5e38c (patch)
tree6ad4cf90f8929000b90e975d7767e799bbade06c
parent3c0849a08ecfa7b73055266f374c1a065a046fb4 (diff)
downloadmediapointer-dvb-s2-e8fa3e492b12dc6e7d30b08566c37c59bce5e38c.tar.gz
mediapointer-dvb-s2-e8fa3e492b12dc6e7d30b08566c37c59bce5e38c.tar.bz2
Make snapshot now working fine with hg
From: Mauro Carvalho Chehab <mchehab@infradead.org> This will allow generating periodic snapshots of the tree. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--v4l/Makefile4
-rw-r--r--v4l/scripts/changelog.tmpl5
-rw-r--r--v4l/scripts/map-changelog1
3 files changed, 8 insertions, 2 deletions
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