[Pkg-jed-commit] [SCM] www branch, master, updated. 49bac2bb7e8e058a4c5836c03865d5571678eb40
Rafael Laboissiere
rafael at debian.org
Sun Apr 26 14:26:58 UTC 2009
tags 424115 pending
tags 424664 pending
thanks
The following commit has been merged in the master branch:
commit 09ffd0197b1ce94e0b9e48fea8f2dbc9d614b77b
Author: Rafael Laboissiere <rafael at debian.org>
Date: Sun Apr 26 16:06:36 2009 +0200
Replace the keyword $Date$
In the SVN version of this docuemnt, the keyword $Id$ was substituted. Since
Git does not provides this feature, we pick now the Date of the latest
Git-committed version and put it in the Date header of the document.
diff --git a/DJG-Guidelines.txt b/DJG-Guidelines.txt.in
similarity index 99%
rename from DJG-Guidelines.txt
rename to DJG-Guidelines.txt.in
index 19aa7a8..a189e03 100644
--- a/DJG-Guidelines.txt
+++ b/DJG-Guidelines.txt.in
@@ -6,7 +6,7 @@ Guidelines for maintaining JED-related Debian packages
:Authors: Rafael Laboissiere and the Debian JED Group
:Contact: pkg-jed-devel at lists.alioth.debian.org
-:Version: $Id$
+:Date: $Date$
1. Coordination
diff --git a/Makefile b/Makefile
index 1187430..1edaf89 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ install: $(INSTALLFILES)
ssh $(HOST) 'cd $(DIR); umask 12; sg $(GROUP) -c "tar x"'
@echo done
-index.html: index.html.in
+%: %.in
author=$$(git log $< | perl -ne 'if (/^Author: /) {/Author: ([^<]+) </; print "$$1\n"; last}') ; \
date=$$(git log $< | perl -ne 'if (/^Date: /) {/Date:\s+(.*)/; print "$$1\n"; last}') ; \
sed "s/\\\$$Date\\\$$/$$date/;s/\\\$$Author\\\$$/$$author/" < $< > $@
@@ -28,6 +28,6 @@ index.html: index.html.in
py.rest --topdf $<
clean:
- rm -f *.html *.pdf
+ rm -f DJG-Guidelines.txt *.html *.pdf
.PHONY: install clean
--
www
More information about the Pkg-jed-commit
mailing list