[build-path-prefix-map-spec] 49/50: Rename some files for consistency

Ximin Luo infinity0 at debian.org
Fri Mar 10 15:17:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository build-path-prefix-map-spec.

commit 4038308fa4066fc936d5842b23d70ae9ae6471a6
Author: Ximin Luo <infinity0 at debian.org>
Date:   Fri Mar 10 16:07:45 2017 +0100

    Rename some files for consistency
---
 .gitignore                   |  5 +++++
 Makefile                     | 12 ++++++------
 spec-main.rst => spec.in.rst |  0
 spec.t.xml => spec.in.xml    |  0
 4 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/.gitignore b/.gitignore
index 3f99414..e294a4d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,4 +4,9 @@
 /consume/afl-in-*
 /consume/afl-out-*
 /produce/*.html
+
+/*.rst
+!/*.in.rst
+/*.xml
+!/*.in.xml
 /*.html
diff --git a/Makefile b/Makefile
index e9893e8..f2211f0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,14 @@
 all: spec.html
 
-%.xml: %.rst %.t.xml Makefile
-	# ain't nobody got time to manually type XML tags
-	pandoc --template "$*.t.xml" -s "$<" -t docbook > "$@"
-
 %.html: %.xml %.xsl fixup-footnotes.xsl
 	xmlto -x "$*.xsl" html-nochunks "$<"
 	xsltproc --html -o "$@" fixup-footnotes.xsl "$@"
 
-spec.rst: spec-main.rst spec-testcases.rst
+%.xml: %.rst %.in.xml Makefile
+	# ain't nobody got time to manually type XML tags
+	pandoc --template "$*.in.xml" -s "$<" -t docbook > "$@"
+
+spec.rst: spec.in.rst spec-testcases.rst
 	cat $^ > "$@"
 
 T = testcases-pecsplit.rst
@@ -21,4 +21,4 @@ spec-testcases.rst: consume/testcases-pecsplit.rst
 
 .PHONY: clean
 clean:
-	rm -f *.html spec-testcases.rst spec.rst
+	rm -f *.html spec.xml spec-testcases.rst spec.rst
diff --git a/spec-main.rst b/spec.in.rst
similarity index 100%
rename from spec-main.rst
rename to spec.in.rst
diff --git a/spec.t.xml b/spec.in.xml
similarity index 100%
rename from spec.t.xml
rename to spec.in.xml

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/build-path-prefix-map-spec.git



More information about the Reproducible-commits mailing list