Skip to content
Snippets Groups Projects
Commit 21b222ed authored by Claus-Justus Heine's avatar Claus-Justus Heine
Browse files

Use AM_MAINTAINER_MODE, automatically create documentation with "make

dist".
parent 5bfed2f7
No related branches found
No related tags found
No related merge requests found
Makefile
Makefile.in
aclocal.m4
albert-1.2.tar.gz
albert-*.tar.gz
autom4te.cache
bin
config.cache
......
if GRAPE
SUBDIRS = BLAS ALBERT_UTIL SOLVER PLOT_ANSI ALBERT GRAPE
SUBDIRS = gnu-compat BLAS ALBERT_UTIL SOLVER PLOT_ANSI ALBERT GRAPE
else
SUBDIRS = BLAS ALBERT_UTIL SOLVER PLOT_ANSI ALBERT
SUBDIRS = gnu-compat BLAS ALBERT_UTIL SOLVER PLOT_ANSI ALBERT
endif
ACLOCAL_AMFLAGS = -I ./m4
EXTRA_DIST = DEMO $(wildcard m4/*.m4)
if MAINTAINER_MODE
# This target only makes sense for maintainers!!
cvs-clean:
@echo Fixing package for cvs commit...
......@@ -29,10 +30,22 @@ cvs-clean:
cp -f INSTALL admin/
chgrp -R albert *
dist-hook:
#
# this one requires write access to the source directory. One day one might
# want to automakify ALBERT/doc/ ...
#
documentation:
make -C $(top_srcdir)/ALBERT/doc/ albert.ps
dist-hook: documentation
@echo Deleting CVS directories in $(distdir)
rm -rf `find $(distdir) -name CVS`
@echo Deleting .cvsignore file in $(distdir)
rm -f `find $(distdir) -name '.cvsignore'`
@echo Cleaning up DEMO directory in $(distdir)
find $(distdir)/DEMO \( -name \*~ -o -name \*.o -o -name \*.lo \) -exec /bin/rm -f {} \;
find $(distdir)/DEMO \( -name ellipt -o -name heat -o -name nonlin \) -exec /bin/rm -f {} \;
find $(distdir)/DEMO -name Makefile -exec /bin/rm -f {} \;
\ No newline at end of file
find $(distdir)/DEMO -name Makefile -exec /bin/rm -f {} \;
endif
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)
AC_INIT([albert], [1.2], [dani@mathematik.uni-freiburg.de])
AC_INIT([albert], [1.2-pre1], [dani@mathematik.uni-freiburg.de])
AC_CONFIG_SRCDIR([ALBERT/src/Common/albert.h])
AM_MAINTAINER_MODE
AC_CONFIG_FILES([Makefile BLAS/Makefile ALBERT_UTIL/Makefile
gnu-compat/Makefile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment