From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/build-docbook-catalog:master commit in: /
Date: Sun, 3 Oct 2021 04:01:07 +0000 (UTC) [thread overview]
Message-ID: <1633233473.bd29656622f75011e723c71880ebba5844f7f518.vapier@gentoo> (raw)
commit: bd29656622f75011e723c71880ebba5844f7f518
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 3 03:57:53 2021 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sun Oct 3 03:57:53 2021 +0000
URL: https://gitweb.gentoo.org/proj/build-docbook-catalog.git/commit/?id=bd296566
update README & dist process
Now that we're in git, we can simplify things a lot.
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>
Makefile | 14 +++-----------
README | 29 ++++-------------------------
build-docbook-catalog | 9 ++-------
3 files changed, 9 insertions(+), 43 deletions(-)
diff --git a/Makefile b/Makefile
index b920de3..cb8634a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,5 @@
-PN = build-docbook-catalog
-PV = $(shell awk '/^\# .Header:/{print $$4;exit}' build-docbook-catalog)
-P = $(PN)-$(PV)
+# Copyright 2004-2021 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
all:
@@ -14,11 +13,4 @@ install:
install -d $(DESTDIR)$(SBINDIR)
install -m 755 build-docbook-catalog $(DESTDIR)$(SBINDIR)
-dist:
- rm -rf $(P)
- mkdir -p $(P)
- cp -pPR build-docbook-catalog Makefile README $(P)/
- tar --posix --owner 0 --group 0 -cf - $(P) | xz -9 > $(P).tar.xz
- rm -rf $(P)
-
-.PHONY: all clean dist install
+.PHONY: all clean install
diff --git a/README b/README
index 8c3716d..8e1e345 100644
--- a/README
+++ b/README
@@ -1,31 +1,10 @@
-$Header: /usr/local/src/gentoo/gentoo-src/cvsroot/gentoo-src/build-docbook-catalog/README,v 1.2 2012/03/27 22:36:51 vapier Exp $
-
This is the source for app-text/build-docbook-catalog, which is a
script to regenerate the xml docbook catalog.
You can find it here:
- http://sources.gentoo.org/gentoo-src/build-docbook-catalog/
-
-To make a release of this script, do the following:
-
-1. Commit your changes, create the tarball, and post it:
-
- make dist
- cp build-docbook-catalog-*.tar.xz /usr/portage/distfiles/
- scp build-docbook-catalog-*.tar.xz dev.gentoo.org:/space/distfiles-local/
-
-2. Make a new version of the build-docbook-catalog ebuild:
-
- ego build-docbook-catalog
- cp $(ls -t1 *.ebuild | head -n 1) build-docbook-catalog-${rev}.ebuild
- ekeyword ~all build-docbook-catalog-${rev}.ebuild
-
-3. Do the normal steps to generate a digest, mark the previous version
- stable, use echangelog to add a ChangeLog entry, etc.
+ https://gitweb.gentoo.org/proj/build-docbook-catalog.git/
- cvs add build-docbook-catalog-${rev}.ebuild
- ebuild build-docbook-catalog-${rev}.ebuild digest
- echangelog
- repoman commit -m "version bump to ${rev}"
+To make a release of this script, create a new git tag.
+ git tag v2.0
-vim:sw=4 expandtab
+We pull tarballs from the git site now. So update the ebuild like normal.
diff --git a/build-docbook-catalog b/build-docbook-catalog
index b420541..9064d72 100755
--- a/build-docbook-catalog
+++ b/build-docbook-catalog
@@ -1,13 +1,7 @@
#!/bin/bash
-# $Header: /usr/local/src/gentoo/gentoo-src/cvsroot/gentoo-src/build-docbook-catalog/build-docbook-catalog,v 1.21 2016/05/23 15:53:13 haubi Exp $
-#
-# build-docbook-catalog: populate /etc/xml/docbook based in
-# installed docbook-xml-dtd versions.
-#
-# Copyright 2004-2012 Gentoo Foundation
+# Copyright 2004-2021 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# written by Aron Griffis
-#
EPREFIX=
ROOTCONFDIR="${EPREFIX}"/etc/xml
@@ -28,6 +22,7 @@ GETOPT=getopt
usage() {
cat <<-EOF
Usage: ${ZERO} [options]
+ Regenerate the XML docbook catalog under ${ROOTCONFDIR}.
Options:
-r, --root ROOT path to work on
next reply other threads:[~2021-10-03 4:01 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-03 4:01 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-04-25 3:43 [gentoo-commits] proj/build-docbook-catalog:master commit in: / Sam James
2023-04-25 3:43 Sam James
2022-01-27 20:28 Sam James
2022-01-17 23:13 Andreas K. Hüttel
2021-10-08 12:22 Mike Frysinger
2021-10-05 1:14 Mike Frysinger
2021-10-05 1:14 Mike Frysinger
2021-10-03 4:01 Mike Frysinger
2021-10-03 4:01 Mike Frysinger
2021-10-03 4:01 Mike Frysinger
2021-10-03 4:01 Mike Frysinger
2021-10-03 4:01 Mike Frysinger
2021-10-03 4:01 Mike Frysinger
2021-10-02 6:20 Mike Frysinger
2021-10-02 6:20 Mike Frysinger
2021-10-02 6:17 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1633233473.bd29656622f75011e723c71880ebba5844f7f518.vapier@gentoo \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox