author | Michael Krelin <hacker@klever.net> | 2004-07-21 21:33:58 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-21 21:33:58 (UTC) |
commit | 76921288a0aa39acb53102863523c388b5d0f9ee (patch) (side-by-side diff) | |
tree | 57fdc8abf9649084af0a74a8ab59ce99fa6742f0 | |
parent | 4b2d32eca61f62bfd1370fd64254514152ecd23c (diff) | |
download | dudki-0.1.zip dudki-0.1.tar.gz dudki-0.1.tar.bz2 |
xmlized NEWS0.1
-rw-r--r-- | .gitignore | 15 | ||||
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | NEWS.xml | 11 | ||||
-rw-r--r-- | NEWS.xsl | 24 | ||||
-rw-r--r-- | configure.ac | 10 |
6 files changed, 60 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a4afc94 --- a/dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +Makefile +Makefile.in +aclocal.m4 +autom4te.cache +config.h +config.h.in +config.log +configure +config.status +stamp-h1 +depcomp +missing +install-sh +INSTALL +NEWS diff --git a/Makefile.am b/Makefile.am index 9f0d419..a7ad457 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1 +1,5 @@ SUBDIRS = src man + +all-local: NEWS +NEWS: NEWS.xsl NEWS.xml + ${XSLTPROC} -o $@ NEWS.xsl NEWS.xml @@ -1,5 +0,0 @@ -0.1 - - initgroups() before executing RestartCommand. - - more civilized restart. -0.0 - - Initial release. diff --git a/NEWS.xml b/NEWS.xml new file mode 100644 index 0000000..30c0543 --- a/dev/null +++ b/NEWS.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="us-ascii"?> +<news> + <version version="0.1" date="July 21st, 2004"> + <ni><kbd>initgroups()</kbd> called before executing <kbd>RestartCommand</kbd></ni> + <ni>more civilized way of restarting on <kbd>SIGHUP</kbd></ni> + <ni>minor changes to build process</ni> + </version> + <version version="0.0" date="July 11th, 2004"> + <ni>Initial release</ni> + </version> +</news> diff --git a/NEWS.xsl b/NEWS.xsl new file mode 100644 index 0000000..7c71307 --- a/dev/null +++ b/NEWS.xsl @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="us-ascii"?> +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + > + <xsl:output + method="text" + encoding="us-ascii" + media-type="text/plain" /> + + <xsl:template match="news"> + <xsl:apply-templates/> + </xsl:template> + <xsl:template match="version"> + <xsl:value-of select="concat(@version,' (',@date,')
')"/> + <xsl:apply-templates/> + </xsl:template> + <xsl:template match="ni"> + <xsl:text> - </xsl:text> + <xsl:apply-templates mode="text"/> + <xsl:text>
</xsl:text> + </xsl:template> + <xsl:template match="*|text()"/> + +</xsl:stylesheet> diff --git a/configure.ac b/configure.ac index 8521a34..7fe64d1 100644 --- a/configure.ac +++ b/configure.ac @@ -17,15 +17,17 @@ AC_TYPE_PID_T AC_FUNC_FORK AC_HEADER_STDC AC_TYPE_SIGNAL -AC_CHECK_FUNCS([dup2 strtol]) +AC_CHECK_FUNCS([dup2 memmove strtol]) AC_CHECK_FUNC([getopt_long],[ AC_DEFINE([HAVE_GETOPT_LONG],[1],[Define to make use of getopt_long]) - AC_SUBST(HAVE_GETOPT_LONG,1) + AC_SUBST([HAVE_GETOPT_LONG],1) ],[ - AC_SUBST(HAVE_GETOPT_LONG,0) + AC_SUBST([HAVE_GETOPT_LONG],0) ]) -PKG_CHECK_MODULES(DOTCONF,[dotconf],,[ +AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) + +PKG_CHECK_MODULES([DOTCONF],[dotconf],,[ AC_MSG_ERROR([no dotconf library found]) ]) |