From e88daf0d5bf3f51a5d141b2d774fe82908992dda Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Sun, 15 Jan 2006 17:05:14 +0000 Subject: These snippets will be useful in Makefile.common, since they enable: 1. inserting new worker and revision elements (both newest-first of course!) 2. querying the document for a tight listing of the entire colophon, so the user can choose who is responsible for a new revision 3. querying the document for a specific worker attribute The "make worker" target idea is simple enough, but more importantly, the use case for a "make clog" target would be: 1. User picks whether revision role is "rpm" or "doc", today's date is formatted properly for the role 2. User picks their name from the tight colophon listing 3. The make target automatically queries for the worker attribute appropriate for that revision role (e.g. initials for doc, email for rpm) --- packaging/get-all-workers.xsl | 12 ++++++++ packaging/get-worker.xsl | 30 ++++++++++++++++++ packaging/insert-changelog.xsl | 65 +++++++++++++++++++++++++++++++++++++++ packaging/insert-colophon.xsl | 69 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 176 insertions(+) create mode 100644 packaging/get-all-workers.xsl create mode 100644 packaging/get-worker.xsl create mode 100644 packaging/insert-changelog.xsl create mode 100644 packaging/insert-colophon.xsl (limited to 'packaging') diff --git a/packaging/get-all-workers.xsl b/packaging/get-all-workers.xsl new file mode 100644 index 0000000..254f61e --- /dev/null +++ b/packaging/get-all-workers.xsl @@ -0,0 +1,12 @@ + + + + + + + : + + + + diff --git a/packaging/get-worker.xsl b/packaging/get-worker.xsl new file mode 100644 index 0000000..732d902 --- /dev/null +++ b/packaging/get-worker.xsl @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + ERROR + + + + + diff --git a/packaging/insert-changelog.xsl b/packaging/insert-changelog.xsl new file mode 100644 index 0000000..2391f1f --- /dev/null +++ b/packaging/insert-changelog.xsl @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + PLEASE SET "lang" ATTRIBUTE IN DETAILS WHERE NEEDED + + + + + + + + + newest-first + + + + + + + + + + + + + diff --git a/packaging/insert-colophon.xsl b/packaging/insert-colophon.xsl new file mode 100644 index 0000000..e0408ff --- /dev/null +++ b/packaging/insert-colophon.xsl @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit