From 96083f79eef9fb9c134f30b529362b6004b72328 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 15 Aug 2008 21:44:22 +0200 Subject: distrib: fix distcheck magic This patch fixes the `make distcheck' magic Signed-off-by: Pablo Neira Ayuso --- Makefile.am | 7 +++++-- configure.in | 3 +-- doc/Makefile | 7 +++++++ doc/Makefile.am | 10 ---------- include/ulogd/Makefile.am | 2 +- 5 files changed, 14 insertions(+), 15 deletions(-) create mode 100644 doc/Makefile delete mode 100644 doc/Makefile.am diff --git a/Makefile.am b/Makefile.am index 46615c1..e8b1154 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,10 +3,10 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6 man_MANS = ulogd.8 -EXTRA_DIST = $(man_MANS) debian ulogd.logrotate ulogd.spec +EXTRA_DIST = $(man_MANS) debian ulogd.logrotate ulogd.spec ulogd.conf.in doc INCLUDES = $(all_includes) -I$(top_srcdir)/include -SUBDIRS = include doc libipulog src input filter output +SUBDIRS = include libipulog src input filter output noinst_DATA = ulogd.conf @@ -20,3 +20,6 @@ $(OBJECTS): libtool libtool: $(LIBTOOL_DEPS) $(SHELL) ./config.status --recheck +dist-hook: + rm -f ulogd.conf + diff --git a/configure.in b/configure.in index 8889575..0e173a3 100644 --- a/configure.in +++ b/configure.in @@ -70,8 +70,7 @@ dnl AC_SUBST(HAVE_PCAP_H) dnl AM_CONDITIONAL(HAVE_MYSQL, test x$mysqldir != x) dnl AM_CONDITIONAL(HAVE_PGSQL, test x$pgsqldir != x) -AC_OUTPUT(doc/Makefile \ - include/Makefile include/ulogd/Makefile include/libipulog/Makefile \ +AC_OUTPUT(include/Makefile include/ulogd/Makefile include/libipulog/Makefile \ libipulog/Makefile \ input/Makefile input/packet/Makefile input/flow/Makefile \ filter/Makefile filter/raw2packet/Makefile filter/packet2flow/Makefile \ diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 0000000..8ccb9ad --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,7 @@ +all: + sgml2txt ulogd.sgml + sgml2latex --papersize=a4 --output=dvi ulogd.sgml + dvips -t a4 -o ulogd.ps ulogd.dvi + sgml2html -s 0 ulogd.sgml +clean: + rm -f ulogd.dvi ulogd.txt ulogd.html ulogd.ps diff --git a/doc/Makefile.am b/doc/Makefile.am deleted file mode 100644 index a80373a..0000000 --- a/doc/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ - -EXTRA_DIST = ulogd.txt ulogd.html ulogd.ps \ - sqlite3.table pgsql-ulogd2.sql mysql-ulogd2.sql - -dist-hook: - sgml2txt ulogd.sgml - sgml2latex --papersize=a4 --output=dvi ulogd.sgml - dvips -t a4 -o ulogd.ps ulogd.dvi - sgml2html -s 0 ulogd.sgml - diff --git a/include/ulogd/Makefile.am b/include/ulogd/Makefile.am index cd01fc0..9b8a3d1 100644 --- a/include/ulogd/Makefile.am +++ b/include/ulogd/Makefile.am @@ -1,2 +1,2 @@ -noinst_HEADERS = conffile.h db.h ipfix_protocol.h linuxlist.h ulogd.h printpkt.h printflow.h common.h linux_rbtree.h timer.h +noinst_HEADERS = conffile.h db.h ipfix_protocol.h linuxlist.h ulogd.h printpkt.h printflow.h common.h linux_rbtree.h timer.h slist.h hash.h jhash.h -- cgit v1.2.3