chiark / gitweb /
Build: Put build utilities in the config/ subdirectory.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 26 Dec 2008 18:11:57 +0000 (18:11 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 27 Dec 2008 13:45:49 +0000 (13:45 +0000)
Leaving AC_CONFIG_AUX_DIR unspecified causes auto* to look for the
various utilities in parent directories, which breaks mdw-build.  I
could explicitly set AC_CONFIG_AUX_DIR to `.', but that misses an
opportunity to tidy up.

.gitignore
.links
Makefile.am
configure.in
man/Makefile.am

index f8268605d815964e53cccbda78166d59ab52e607..7107b05990170c46fa07113bde504bc67bc50c9f 100644 (file)
@@ -1,23 +1,12 @@
 Makefile.in
 aclocal.m4
-build
 configure
-deb-build
-deb-noadns
+config
 COPYING.LIB
 COPYING
 config.guess
 config.sub
 install-sh
-lib-config.in
-ltmain.sh
-maninst
 mdwopt.c
 mdwopt.h
-missing
-mkinstalldirs
 autom4te.cache
-unihash.in
-depcomp
-compile
-
diff --git a/.links b/.links
index 4aacfeb9013c8749e17a6e371ebdbc6aa6908fe4..f37dca93483f2ae7a3d227cd113b78a00b8bc61b 100644 (file)
--- a/.links
+++ b/.links
@@ -1,5 +1,4 @@
-lib-config.in
-maninst
+config/maninst
 mdwopt.c
 mdwopt.h
 COPYING
index c559b298f4823cf2f20c8a774644cee9884e7774..131a94c9b139d9c5c55675ba2f0e08fcb1d9b9ec 100644 (file)
@@ -246,7 +246,7 @@ uninstall-man:
 CLEANFILES = $(TEST_CLEAN) crc32-tab.c unihash-global.c
 DISTCLEANFILES = libtool
 EXTRA_DIST = \
-       $(TEST_DIST) maninst \
+       $(TEST_DIST) config/maninst \
        debian/rules debian/copyright debian/control debian/changelog
 
 ##----- That's all, folks ---------------------------------------------------
index 6e250ba304cca50872c949f6be1d6d0b079eb1d4..528dafb74d0fa265478b4cf9f449017ebb197854 100644 (file)
@@ -27,6 +27,7 @@ dnl Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 dnl MA 02111-1307, USA.
 
 AC_INIT(exc.c)
+AC_CONFIG_AUX_DIR(config)
 AM_INIT_AUTOMAKE(mLib, 2.0.5)
 
 AC_PROG_CC
index 397f4c1f25cdedbd706b4d1ee4a60c1bd05c940e..3c33ffb4a9097d1be5037f0e55571353f032e866 100644 (file)
@@ -46,21 +46,21 @@ MANPAGESEXT = \
 install-man: $(MANPAGES)
        @$(NORMAL_INSTALL)
        $(mkinstalldirs) $(DESTDIR)$(mandir)
-       $(top_srcdir)/maninst \
+       $(top_srcdir)/config/maninst \
                -d $(DESTDIR)$(mandir) -s $(srcdir) \
                -i "$(INSTALL)" \
                install $(MANPAGES)
-       $(top_srcdir)/maninst \
+       $(top_srcdir)/config/maninst \
                -d $(DESTDIR)$(mandir) -s $(srcdir) \
                -i "$(INSTALL)" -e $(manext) \
                install $(MANPAGESEXT)
 
 uninstall-man: $(MANPAGS)
        @$(NORMAL_UNINSTALL)
-       $(top_srcdir)/maninst \
+       $(top_srcdir)/config/maninst \
                -d $(DESTDIR)$(mandir) -s $(srcdir) \
                uninstall $(MANPAGES)
-       $(top_srcdir)/maninst \
+       $(top_srcdir)/config/maninst \
                -d $(DESTDIR)$(mandir) -s $(srcdir) -e $(manext) \
                uninstall $(MANPAGESEXT)