diff options
-rw-r--r-- | Makefile.am | 14 | ||||
-rw-r--r-- | configure.ac | 37 |
2 files changed, 51 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..51601f0 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,14 @@ +# Install the Autoconf Archive +# +# Copyright (c) 2009 by Peter Simons <simons@cryp.to> +# Licensed under the terms of the GNU General Public License. + +dist_pkgdata_DATA = AUTHORS COPYING README +CLEANFILES = $(DIST_ARCHIVES) +MAINTAINERCLEANFILES = missing install-sh configure Makefile.in aclocal.m4 + +aclocaldir = $(datadir)/aclocal +dist_aclocal_DATA = $(M4SOURCE) + +htmldir = $(pkgdatadir)/html +dist_html_DATA = $(HTMLDOC) diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..eea5b77 --- /dev/null +++ b/configure.ac @@ -0,0 +1,37 @@ +dnl configure the Autoconf Archive + +AC_INIT([autoconf-archive], [2009-04-29], [simons@cryp.to]) +AM_INIT_AUTOMAKE([-Wall gnu no-dist-gzip dist-bzip2]) +AC_CONFIG_SRCDIR([html/autoconf-archive.css]) + +AC_COPYRIGHT([dnl +Copyright (c) 2009 by Peter Simons <simons@cryp.to> + +This compilation is free software: you can redistribute it and/or +modify it under the terms of the GNU General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version. + +This compilation is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details.]) + +AC_MSG_CHECKING([for available Autoconf macros]) +M4SOURCE="" +for n in ${srcdir}/m4/*.m4 ; do + M4SOURCE="${M4SOURCE} ${n}" +done +AC_SUBST([M4SOURCE]) +AC_MSG_RESULT([done]) + +AC_MSG_CHECKING([for available documentation]) +HTMLDOC="" +for n in ${srcdir}/html/*.html ${srcdir}/html/*.css ; do + HTMLDOC="${HTMLDOC} ${n}" +done +AC_SUBST([HTMLDOC]) +AC_MSG_RESULT([done]) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT |