mirror of
https://github.com/OlafvdSpek/ctemplate.git
synced 2025-09-28 19:05:49 +08:00

* Remove Autotools cruft (`ltmain.sh` and friends) and add to .gitignore * No need to add `INSTALL` and `COPYING` to the `doc_DATA` targets. These files shouldn't be installed, and there is no need to add them to `doc_DATA`, as Automake will still add them to the tarball. * Use `AX_PTHREAD`, which is the modern replacement for `ACX_PTHREAD`. * Do not override `$(docdir)`, which is a user flag and shouldn't be modified according to GNU conventions. * Install html files into `$(htmldir)` and not `$(docdir)`. * Only build tests when they are requested, that is, test targets should be prefixed with `check_` and not `noinst_`. * Copy the `.cc` file to `.c` instead of using `$(LN_S)` which breaks `VPATH` (out-of-source builds).
21 lines
586 B
Bash
Executable File
21 lines
586 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Before using, you should figure out all the .m4 macros that your
|
|
# configure.m4 script needs and make sure they exist in the m4/
|
|
# directory.
|
|
#
|
|
# These are the files that this script might edit:
|
|
# aclocal.m4 configure Makefile.in src/config.h.in \
|
|
# depcomp config.guess config.sub install-sh missing mkinstalldirs \
|
|
#
|
|
# Here's a command you can run to see what files aclocal will import:
|
|
# aclocal -I ../autoconf --output=- | sed -n 's/^m4_include..\([^]]*\).*/\1/p'
|
|
|
|
set -ex
|
|
rm -rf autom4te.cache
|
|
|
|
autoreconf -f -i -W all,no-obsolete
|
|
|
|
rm -rf autom4te.cache
|
|
exit 0
|