source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* docbook2mdoc: release 1.0.0
@ 2019-04-17 18:46 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2019-04-17 18:46 UTC (permalink / raw)
  To: source

Log Message:
-----------
release 1.0.0

Modified Files:
--------------
    docbook2mdoc:
        Makefile

Added Files:
-----------
    docbook2mdoc:
        NEWS

Removed Files:
-------------
    docbook2mdoc:
        index.xml

Revision Data
-------------
--- index.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<html>
-	<head>
-		<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
-		<meta charset='utf-8' />
-		<title>docbook2mdoc | Convert DocBook to mdoc</title>
-		<style>
-			html, body { margin: 0; padding: 0; }
-			header { margin-top: 1em; }
-			header span.nm { font-size: 16pt; }
-			header span.nd { font-size: 14pt; }
-			article span.nm, article a.nm { font-style: italic; }
-			header, article, footer { width: 80%; margin-left: auto; margin-right: auto; }
-			body { color: #333; font-family: Times,serif; line-height: 120%; }
-			nav { color: #666; margin-top: 0.5ex; }
-			nav span { border-left: thin solid silver; margin-left: 0.25ex; padding-left: 0.5ex; }
-			nav span:first-child { border: 0; padding: 0; margin: 0; }
-			a { text-decoration: none; }
-			footer { margin-top: 1em; font-size: smaller; color: #666; }
-			footer a { color: #000; }
-			h2 { font-size: larger; font-weight: bolder; color: #333; }
-		</style>
-	</head>
-	<body>
-		<header>
-			<span class="nm">docbook2mdoc</span>
-			&#8212;
-			<span class="nd">Convert DocBook to mdoc</span>
-			<nav>
-				<span>version <span>@VERSION@</span></span>
-				<span><a href="snapshots/docbook2mdoc.tgz">Sources</a></span>
-				<span><a href="snapshots">Archives</a></span>
-			</nav>
-		</header>
-		<article>
-			<p>
-				The <span class="nm">docbook2mdoc</span> utility is a converter from <a
-					href="http://www.oasis-open.org/docbook/">DocBook</a> V4.x and v5.x XML into <a
-					href="http://man.openbsd.org/mdoc.7">mdoc</a>.
-				Unlike most DocBook utilities, it's a standalone <a rel="license"
-					href="https://www.isc.org/downloads/software-support-policy/isc-license/">ISC</a>-licensed ISO C utility
-				that should compile on any modern UNIX system.
-			</p>
-			<p>
-				<span class="nm">docbook2mdoc</span> is experimental: it still has many missing elements.
-				However, it works with the DocBook reference examples and documents found in the wild.
-				Contact <a href="https://mandoc.bsd.lv/contact.html">the developers</a> with questions or missing nodes; or better yet, download
-				the source and add new elements yourself as described in the <a href="README.txt">README</a>.
-			</p>
-			<h2>
-				New in version @VERSION@...
-			</h2>
-			<p>
-				Now supports most tags as found in the <a href="https://https://www.opengl.org/">OpenGL</a> DocBook corpus.
-				The main missing elements are <code>&lt;inlineequation&gt;</code> and <code>&lt;informalequation&gt;</code>,
-				although a few others (<code>&lt;footnote&gt;</code> et al.) are in there too.
-				The DocBook is also malformed in some areas&mdash;improper parenting.
-			</p>
-		</article>
-		<footer>
-			&#169; 2014 <a href="http://kristaps.bsd.lv">Kristaps Dzonsons</a>,
-			$Date: 2019/03/28 12:21:10 $
-		</footer>
-	</body>
-</html>
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/docbook2mdoc/Makefile,v
retrieving revision 1.24
retrieving revision 1.25
diff -LMakefile -LMakefile -u -p -r1.24 -r1.25
--- Makefile
+++ Makefile
@@ -1,11 +1,12 @@
-VERSION = 0.0.9
+VERSION = 1.0.0
 CFLAGS += -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
-WWWPREFIX = /usr/vhosts/mdocml.bsd.lv/www/htdocs/docbook2mdoc
+WWWPREFIX = /var/www/vhosts/mdocml.bsd.lv/htdocs/docbook2mdoc
 PREFIX = /usr/local
 
 HEADS =	node.h parse.h macro.h format.h
 SRCS =	node.c parse.c macro.c docbook2mdoc.c tree.c main.c
 OBJS =	node.o parse.o macro.o docbook2mdoc.o tree.o main.o
+DISTFILES = Makefile NEWS docbook2mdoc.1
 
 all: docbook2mdoc
 
@@ -15,7 +16,7 @@ docbook2mdoc: $(OBJS)
 statistics: statistics.o
 	$(CC) -g -o $@ statistics.c
 
-www: index.html docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz README.txt
+www: docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz README.txt
 
 install: all
 	mkdir -p $(DESTDIR)$(PREFIX)/bin
@@ -25,15 +26,16 @@ install: all
 
 installwww: www
 	mkdir -p $(WWWPREFIX)/snapshots
-	install -m 0444 index.html docbook2mdoc.1.html README.txt $(WWWPREFIX)
+	install -m 0444 docbook2mdoc.1.html README.txt NEWS $(WWWPREFIX)
 	install -m 0444 docbook2mdoc-$(VERSION).tgz $(WWWPREFIX)/snapshots
-	install -m 0444 docbook2mdoc-$(VERSION).tgz $(WWWPREFIX)/snapshots/docbook2mdoc.tgz
+	ln -f $(WWWPREFIX)/snapshots/docbook2mdoc-$(VERSION).tgz \
+	    $(WWWPREFIX)/snapshots/docbook2mdoc.tgz
 
 dist: docbook2mdoc-$(VERSION).tgz
 
 docbook2mdoc-$(VERSION).tgz:
 	mkdir -p .dist/docbook2mdoc-$(VERSION)
-	install -m 0444 $(HEADS) $(SRCS) Makefile docbook2mdoc.1 \
+	install -m 0444 $(HEADS) $(SRCS) $(DISTFILES) \
 	    .dist/docbook2mdoc-$(VERSION)
 	(cd .dist && tar zcf ../$@ docbook2mdoc-$(VERSION))
 	rm -rf .dist
@@ -45,14 +47,11 @@ docbook2mdoc.o: node.h macro.h format.h
 tree.o: node.h format.h
 main.o: node.h parse.h format.h
 
-index.html: index.xml
-	sed "s!@VERSION@!$(VERSION)!g" index.xml >$@
-
 docbook2mdoc.1.html: docbook2mdoc.1
-	mandoc -Thtml docbook2mdoc.1 >$@
+	mandoc -T html -O style=/mandoc.css docbook2mdoc.1 >$@
 
 README.txt: README
-	cp README $@
+	cp -p README $@
 
 clean:
 	rm -f docbook2mdoc $(OBJS) docbook2mdoc.core
--- /dev/null
+++ NEWS
@@ -0,0 +1,50 @@
+
+Changes in version 1.0.0, released on April 17, 2019
+
+ * Stop using expat because it cannot handle invalid input gracefully.
+ * Drop input validation functionality, make it a best-effort formatter.
+ * Implement file inclusion via <xi:include> and via <!ENTITY>.
+ * Implement -T lint and -T tree dump output modes.
+ * Handle large numbers of additional elements.
+ * Dynamic assignment of header levels.
+ * Overhaul whitespace handling on the input and output sides.
+ * Overhaul paragraph handling.
+ * Initial MathML support.
+ * Switch to mandoc(1)-style EXIT STATUS and DIAGNOSTICS.
+ * Large numbers of formatting and structural improvements.
+   --- THANKS TO ---
+ * Stephen Gregoratto for four patches and several bug reports.
+ * Anthony Bentley and Svyatoslav Mishyn for minor patches.
+
+Changes in version 0.0.9, released on April 30, 2014
+
+ * Add the -W command line option.
+ * Handle trailing delimiters after macros.
+ * Handle <fieldsynopsis>, <modifier>, <type>.
+
+Changes in version 0.0.8, released on April 30, 2014
+
+ * Handle <contstant>, <copyright>, <holder>, <informaltable>,
+   <trademark>, <year>.
+ * Ignore <xi:include>.
+
+Changes in version 0.0.7, released on April 2, 2014
+
+ * Handle <application>, <caution>, <note>, <quote>, <sgmltag>,
+   <tip>, <warning>.
+
+Changes in version 0.0.6, released on April 2, 2014
+
+ * Initial support for tables.
+ * Handle <envar>, <filename>, <group>, <itemizedlist>, <link>,
+   <literal>, <orderedlist>, <prompt>, <sbr>, <screen>, <userinput>,
+   <variablelist>, <varname>.
+
+Changes in version 0.0.4, released on March 29, 2014
+
+ * Support for XML element attributes.
+ * Handle <structname>.
+ * Commas between names in the NAME section.
+
+Start of development in CVS and first public release:
+Version 0.0.2, released on March 28, 2014.
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-17 18:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-17 18:46 docbook2mdoc: release 1.0.0 schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).