aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2007-12-08 00:52:08 +0000
committerReuben Thomas <rrt@sc3d.org>2007-12-08 00:52:08 +0000
commit2a67b68ec993c1c0289ae20594e64e7839291c42 (patch)
tree4594f0f42703707fe759d191f9c9ecdfae691661
parent0c6735c74d1f8e2a150cd65129ff154293f9ebdb (diff)
downloadplptools-2a67b68ec993c1c0289ae20594e64e7839291c42.tar.gz
plptools-2a67b68ec993c1c0289ae20594e64e7839291c42.tar.bz2
plptools-2a67b68ec993c1c0289ae20594e64e7839291c42.zip
Since configure.in.in is not processed, rename it to configure.ac.
Simplify Makefile.cvs into pure setup and rename autogen.sh.
-rw-r--r--Makefile.cvs56
-rw-r--r--autogen.sh9
-rw-r--r--configure.ac (renamed from configure.in.in)0
3 files changed, 9 insertions, 56 deletions
diff --git a/Makefile.cvs b/Makefile.cvs
deleted file mode 100644
index 6543091..0000000
--- a/Makefile.cvs
+++ /dev/null
@@ -1,56 +0,0 @@
-LIBTOOLFILES = config.guess config.sub ltconfig ltmain.sh
-AUTOMAKEFILES = mkinstalldirs missing install-sh
-CONFIGHIN = include/config.h.in
-ACLOCAL = aclocal.m4
-GETTEXT = intl/Makefile.in
-GETTEXTDEP = Makefile.am.in configure.in.in
-
-all:
- @echo "Use make devel for development, make dist for distribution"
-
-strictbuild: devel
- rm -f config.cache
- ./configure --prefix=/usr --mandir=/usr/share/man --enable-debug --enable-strict
- ${MAKE}
-
-build: devel
- rm -f config.cache
- ./configure --prefix=/usr --mandir=/usr/share/man --enable-debug
- ${MAKE}
-
-devel: $(GETTEXT) $(LIBTOOLFILES) $(AUTOMAKEFILES)
- autoconf
- touch include/stamp-h.in
-
-dist: $(GETTEXT) $(LIBTOOLFILES) $(AUTOMAKEFILES)
- autoconf
- touch include/stamp-h.in
- ./configure
- $(MAKE) dist
-
-htmldoc:
- for f in doc/*.[0123456789] ; do \
- o=../web/htdocs/`basename $$f`.html; \
- man2html -H plptools.sourceforge.net -M "" $$f > $$o; \
- done
-
-$(ACLOCAL):
- aclocal
-
-$(CONFIGHIN): configure.in
- autoheader
-
-$(LIBTOOLFILES):
- libtoolize --force
-
-$(GETTEXT): $(GETTEXTDEP)
- cp configure.in.in configure.in
- cp Makefile.am.in Makefile.am
- mkdir -p intl
- echo n | gettextize --force --intl --no-changelog
- test -e po/Makevars || cp po/Makevars.template po/Makevars
- rm -f ChangeLog *~
- -test -f po/ChangeLog~ && mv -f po/ChangeLog~ po/ChangeLog
-
-$(AUTOMAKEFILES): $(ACLOCAL) $(CONFIGHIN)
- automake --add-missing
diff --git a/autogen.sh b/autogen.sh
new file mode 100644
index 0000000..24163fe
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,9 @@
+# Set up for compilation
+
+cp Makefile.am.in Makefile.am
+mkdir -p intl
+echo n | gettextize --force --intl --no-changelog
+test -e po/Makevars || cp po/Makevars.template po/Makevars
+rm -f ChangeLog *~
+-test -f po/ChangeLog~ && mv -f po/ChangeLog~ po/ChangeLog
+autoreconf -i
diff --git a/configure.in.in b/configure.ac
index 05aca67..05aca67 100644
--- a/configure.in.in
+++ b/configure.ac