Skip to content

Commit

Permalink
Initial import of makefiles, etc
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash-docs/trunk@11590 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information
wilddev65 committed Nov 27, 2002
1 parent f641123 commit 2bf4f47
Show file tree
Hide file tree
Showing 16 changed files with 1,445 additions and 0 deletions.
10 changes: 10 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Contributors:

Chris Lyttle <[email protected]>
Carol Champagne <[email protected]>
Christopher Browne <[email protected]>
Bill Gribble <[email protected]>
Robert Graham Merkel <[email protected]>
Glen Ditchfield <[email protected]>
Eric Hanchrow <[email protected]>
James A. Treacy <[email protected]>
355 changes: 355 additions & 0 deletions COPYING-DOCS

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
2002-11-26 Chris Lyttle <[email protected]>

* AUTHORS: added to repository
* COPYING-DOCS: added to repository
* ChangeLog: added to repository
* NEWS: added to repository
* README: added to repository
* gnucash-docs.spec.in: added to repository
* autogen.sh: added to repository
* configure.in: added to repository
* Makefile.am: added to repository
* omf.make: added to repository
* xmldocs.make: added to repository
* help/Makefile.am: added to repository
* help/gnucash-docs/Makefile.am: added to repository
* help/gnucash-docs/C/Makefile.am: added to repository
* help/gnucash-docs/C/fdl-appendix.xml: added to repository
* help/gnucash-docs/C/legal.xml: added to repository

7 changes: 7 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
SUBDIRS = help

EXTRA_DIST = gnucash-docs.spec.in COPYING-DOCS xmldocs.make omf.make

dist-hook: gnucash-docs.spec
cp gnucash-docs.spec $(distdir)

Empty file added NEWS
Empty file.
Empty file added README
Empty file.
80 changes: 80 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

ORIGDIR=`pwd`
cd $srcdir

PROJECT=gnucash-docs
TEST_TYPE=-f
FILE=Makefile.am

DIE=0

(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have autoconf installed to compile $PROJECT."
echo "Download the appropriate package for your distribution,"
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
DIE=1
}

(libtool --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have libtool installed to compile $PROJECT."
echo "Get ftp://alpha.gnu.org/gnu/libtool-1.0h.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}

(automake --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have automake installed to compile $PROJECT."
echo "Get ftp://ftp.cygnus.com/pub/home/tromey/automake-1.2d.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}

if test "$DIE" -eq 1; then
exit 1
fi

test $TEST_TYPE $FILE || {
echo "You must run this script in the top-level $PROJECT directory"
exit 1
}

if test -z "$*"; then
echo "I am going to run ./configure with no arguments - if you wish "
echo "to pass any to it, please specify them on the $0 command line."
fi

case $CC in
*lcc | *lcc\ *) am_opt=--include-deps;;
esac

#echo "Running gettextize... Ignore non-fatal messages."
# Hmm, we specify --force here, since otherwise things don't
# get added reliably, but we don't want to overwrite intl
# while making dist.
#echo "no" | gettextize --copy --force

echo "Running libtoolize"
libtoolize --copy --force

aclocal $ACLOCAL_FLAGS

# optionally feature autoheader
(autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader

automake -a $am_opt
autoconf

cd $ORIGDIR

$srcdir/configure --enable-maintainer-mode "$@"

echo
echo "Now type 'make' to compile $PROJECT."
72 changes: 72 additions & 0 deletions configure.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# copyright (c) 2000-2002 Chris Lyttle

dnl Process this file with autoconf to produce a configure script.
AC_INIT(help/gnucash-docs/C/help.xml
)

dnl ==========================================================================
dnl
dnl If you add a version number here, you *must* add an AC_SUBST line for
dnl it too, or it will never make it into the spec file!
dnl
dnl ==========================================================================

SCROLLKEEPER_BUILD_REQUIRED=0.3.4
AC_SUBST(SCROLLKEEPER_BUILD_REQUIRED)

dnl ==========================================================================

dnl Checks for programs.
AC_PROG_AWK
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET

dnl Checks for libraries.

dnl Checks for header files.
AC_HEADER_STDC

dnl ====================================
dnl = Begin checks for typedefs, structures, and compiler characteristics.
dnl ====================================
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
dnl ====================================
dnl = End checks for typedefs, structures, and compiler characteristics.
dnl ====================================

dnl ====================================
dnl = Begin checks for library functions.
dnl ====================================
AC_FUNC_ALLOCA
AC_FUNC_MMAP
AC_CHECK_FUNCS(getcwd getwd putenv strdup)
dnl ====================================
dnl = End checks for library functions.
dnl ====================================

dnl ====================================
dnl = Begin tests for scrollkeeper
dnl ====================================
AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
if test x$SCROLLKEEPER_CONFIG = xno; then
AC_MSG_ERROR(Couldn't find scrollkeeper-config. Please install the scrollkeeper package: http://scrollkeeper.sourceforge.net)
fi
dnl ====================================
dnl = End tests for scrollkeeper
dnl ====================================

AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(gnucash-docs,0.0.1)
AM_PROG_LIBTOOL

AC_OUTPUT(
gnucash-docs.spec.in
help/Makefile
help/gnucash-docs/Makefile
help/gnucash-docs/C/Makefile
Makefile)
Empty file added gnucash-docs.spec.in
Empty file.
7 changes: 7 additions & 0 deletions help/C/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
figdir = figures
docname = gnucash-docs
lang = C
omffile = gnucash-docs-C.omf
entities = fdl-appendix.xml legal.xml
include $(top_srcdir)/xmldocs.make
dist-hook: app-dist-hook
Loading

0 comments on commit 2bf4f47

Please sign in to comment.