File man2html-automake.diff of Package vh-man2html
---
Makefile.am | 14 ++++++++++++++
configure.ac | 8 ++++++++
man2html.c | 2 +-
3 files changed, 23 insertions(+), 1 deletion(-)
Index: man2html/Makefile.am
===================================================================
--- /dev/null
+++ man2html/Makefile.am
@@ -0,0 +1,14 @@
+# -*- Makefile -*-
+AM_CFLAGS = -Wall -Wstrict-prototypes -Wmissing-prototypes
+
+bin_PROGRAMS = man2html
+bin_SCRIPTS = hman
+
+man2html_SOURCES = man2html.c cgibase.c abbrev.c strdefs.c
+
+man_MANS = hman.1 man2html.1
+
+hman${EXEEXT}: hman.sh
+ sed -e 's,%version%,@PACKAGE_VERSION@,' hman.sh >$@
+
+CLEANFILES = hman
Index: man2html/configure.ac
===================================================================
--- /dev/null
+++ man2html/configure.ac
@@ -0,0 +1,8 @@
+AC_INIT([vn-man2html], [1.6g])
+AC_CONFIG_AUX_DIR([build-aux])
+AC_CONFIG_HEADERS([config.h])
+AM_INIT_AUTOMAKE([-Wall foreign])
+AC_PROG_CC
+AC_PROG_INSTALL
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
Index: man2html/man2html.c
===================================================================
--- man2html.orig/man2html.c
+++ man2html/man2html.c
@@ -20,7 +20,7 @@
#include <ctype.h>
#include <sys/stat.h>
#include "defs.h"
-#include "../src/version.h"
+const char *version = "1.6g";
/* BSD mandoc Bd/Ed example(?) blocks */
#define BD_LITERAL 1