From d60304f777f5e7c685a972e830adae35e2a347c9 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Mon, 22 Dec 2003 15:03:15 +0000 Subject: [PATCH] Reworking builds; support freshmeat target --- slides/Makefile | 42 ++++++++++++------ slides/VERSION | 111 +++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 139 insertions(+), 14 deletions(-) diff --git a/slides/Makefile b/slides/Makefile index 1409ad487..3ab1ef60d 100644 --- a/slides/Makefile +++ b/slides/Makefile @@ -1,7 +1,14 @@ include ../cvstools/Makefile.incl -ZIPVER= -DIFFVER= + +CVS2LOG=../cvstools/cvs2log NEXTVER= +DIFFVER= +ZIPVER= +CVSCHECK := $(shell cvs -n update 2>&1 | grep -v ^cvs | cut -c3-) +RELVER := $(shell grep "//g") +TAGVER := $(shell echo "V$(RELVER)" | sed "s/\.//g") +SFRELID= +FMGO=-N all: $(MAKE) -C schema @@ -15,13 +22,6 @@ check: test: check $(SAXON) test.xml xsl/slides.xsl -#doc: -# perl /projects/src/dtdparse/dtdparse.pl \ -# --title "Slides" --output slides.xml \ -# --decl /usr/lib/sgml/declaration/xml.dcl \ -# --nounexpanded slides.dtd -# dtdformat --html slides.xml - distrib: check $(MAKE) -C doc all $(CVS2LOG) -w @@ -32,12 +32,28 @@ else endif newversion: -ifeq ($NEXTVER),) - $(NEXTVERSION) +ifeq ($(CVSCHECK),) +ifeq ($(DIFFVER),) + @echo "DIFFVER must be specified." +else +ifeq ($(NEXTVER),$(RELVER)) + cvs tag $(TAGVER) + $(MAKE) DIFFVER=$(DIFFVER) distrib +else + @echo "VERSION $(RELVER) doesn't match specified version $(NEXTVER)." +endif +endif +else + @echo "CVS is not up-to-date! ($(CVSCHECK))" +endif + +freshmeat: +ifeq ($(SFRELID),) + @echo "You must specify the sourceforge release identifier in SFRELID" else - $(NEXTVERSION) -v $(NEXTVER) + $(XSLT) VERSION VERSION /tmp/fm-docbook-slides sf-relid=$(SFRELID) + grep -v " + + + + + + + + DocBook + Slides + 3.3.0 + + + + + + major feature enhancements + + + + + + http://sourceforge.net/projects/docbook/ + http://prdownloads.sourceforge.net/docbook/slides-{VERSION}.tar.gz?download + http://prdownloads.sourceforge.net/docbook/slides-{VERSION}.zip?download + http://sourceforge.net/project/shownotes.php?release_id={SFRELID} + http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/docbook/slides/ + http://lists.oasis-open.org/archives/docbook-apps/ + This is an experimental release. It includes many +patches and enhancements, updated browser JavaScript, and is now +based on Simplified DocBook V1.1b1 which is based on DocBook XML +V4.3CR2. + + + + + + + You must specify the sf-relid as a parameter. + + + + + + + + + + + + + + + + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.49.0