1 # Process this file with autoconf to produce a configure script.
3 AC_CONFIG_SRCDIR([wiki/index.html])
9 echo Configuring $PACKAGE version $DOTTED_VERSION.$DATE_VERSION
12 AM_INIT_AUTOMAKE($PACKAGE, $DOTTED_VERSION, no-define)
16 # Checks for libraries.
18 # Checks for header files.
20 # Checks for typedefs, structures, and compiler characteristics.
22 # Checks for library functions.
28 # Expand the prefix variable
29 # I don't like the way this is done, but it works (I hope).
30 if eval "test x$prefix = xNONE"; then
31 dprefix=$ac_default_prefix
36 gedadocdir=$dprefix/share/doc/geda-doc
37 # --with-docdir : tells where to store documentation if not default
39 [ --with-docdir Where to store documentation if not default.],
41 expandgedadocdir=`echo $gedadocdir`
42 GEDADOCDIR=$expandgedadocdir
45 AC_SUBST(DATE_VERSION)
46 AC_SUBST(DOTTED_VERSION)
48 AC_DEFUN([GEDA_DECLARE_DOCS],
50 data$1=`find $srcdir/$1 -name \* -print \
51 | sed "s%\.\./wiki/%%" \
52 | sed "s%\.\./wiki%%" \
53 | sed "s%\./wiki/%%" \
55 | grep -v Makefile | grep -v ChangeLog \
56 | grep -v CVS | grep -v "\\.cvsignore" \
58 | grep -v "\\~" | grep -v "\\.orig"`
63 GEDA_DECLARE_DOCS(wiki)
65 AC_CONFIG_FILES([Makefile
67 toplevel/gedadocs.html
73 wiki/lib/images/interwiki/Makefile
74 wiki/lib/images/fileicons/Makefile
75 wiki/lib/images/smileys/Makefile
76 wiki/lib/images/Makefile
77 wiki/lib/tpl/geda/images/Makefile
78 wiki/lib/tpl/geda/Makefile
80 wiki/lib/plugins/note/images/Makefile
81 wiki/lib/plugins/note/Makefile
82 wiki/lib/plugins/definitionlist/images/Makefile
83 wiki/lib/plugins/definitionlist/Makefile
84 wiki/lib/plugins/Makefile
88 expandedGEDADOCDIR=`eval "echo $GEDADOCDIR"`
91 ** Configuration summary for $PACKAGE $DOTTED_VERSION.$DATE_VERSION:
93 documentation directory: $expandedGEDADOCDIR