chiark / gitweb /
Use autoconf to find -linnstorage etc., and link statically
[innduct.git] / Makefile.am
index 7badc290e01b1b17a95078500a3a91e16abb2403..7850d48f11fdabb0c96c8b4828c0f498529b832b 100644 (file)
@@ -45,14 +45,11 @@ man_MANS = innduct.8 innduct-stats-report.8
 innduct_SOURCES = duct.c conn.c filemon.c infile.c recv.c xmit.c \
                cli.c defer.c help.c statemc.c __oop-read-copy.c
 
-innduct_LDADD = -L/usr/lib/news -lstorage -linn -lm -loop
-
-autoconf:
-       aclocal-1.4
-       autoheader2.50
-       autoconf2.50
-       automake-1.4
-       perl -i.bak -pe '$$_="" if m/^(?:Makefile|config\.h):/..m/^$$/' \
-               Makefile.in
+dist_doc_DATA = README.states README.statistics
+
+innduct_LDADD = -lm -loop
+
+autogen autoconf:
+       ./autogen.sh
 
 MAINTAINERCLEANFILES = configure config.h.in Makefile.in