build-sys: move autotools files to subdirectories

This commit is contained in:
Sami Kerola 2013-02-13 20:51:26 +00:00
parent 47b9786533
commit 22ddf8fd36
5 changed files with 6 additions and 7 deletions

7
.gitignore vendored
View file

@ -7,17 +7,18 @@ Makefile
Makefile.in Makefile.in
# Exact wildcard, e.g., not in subdirs. # Exact wildcard, e.g., not in subdirs.
/*.m4
/doc/*.1 /doc/*.1
/doc/*.5 /doc/*.5
/doc/*/*.1 /doc/*/*.1
/doc/*/*.5 /doc/*/*.5
/nls/*/*.cat /nls/*/*.cat
/nls/*/generated-*.m /nls/*/generated-*.m
/m4/*.m4
# Exact match, if a directory then everything in directory. # Exact match, if a directory then everything in directory.
/aclocal.m4 /aclocal.m4
/autom4te.cache/ /autom4te.cache/
/build-aux/
/config.h /config.h
/config.h.in /config.h.in
/config.log /config.log
@ -26,10 +27,6 @@ Makefile.in
/data/apps /data/apps
/data/init /data/init
/data/menu /data/menu
/depcomp
/install-sh
/ltmain.sh
/missing
/src/FbTk/libFbTk.a /src/FbTk/libFbTk.a
/src/defaults.cc /src/defaults.cc
/src/defaults.hh /src/defaults.hh

View file

@ -5,7 +5,7 @@
SUBDIRS = doc nls src util data SUBDIRS = doc nls src util data
MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in stamp-h.in MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in stamp-h.in
ACLOCAL_AMFLAGS = -I . ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = acinclude.m4 $(top_srcdir)/3rd/vim/* $(top_srcdir)/3rd/vim/syntax/* EXTRA_DIST = acinclude.m4 $(top_srcdir)/3rd/vim/* $(top_srcdir)/3rd/vim/syntax/*
uninstall-hook: uninstall-hook:

View file

@ -14,7 +14,7 @@ dothis() {
libtoolize --copy --force --automake libtoolize --copy --force --automake
rm -f config.cache rm -f config.cache
dothis aclocal -I . ${ACLOCAL_FLAGS} dothis aclocal -I m4 ${ACLOCAL_FLAGS}
dothis autoheader dothis autoheader
dothis automake -a -c dothis automake -a -c
dothis autoconf dothis autoconf

View file

@ -5,6 +5,8 @@ AC_INIT([fluxbox],
[fluxbox-devel@lists.sourceforge.net],, [fluxbox-devel@lists.sourceforge.net],,
[http://fluxbox.org/]) [http://fluxbox.org/])
AC_CONFIG_SRCDIR([src/fluxbox.cc]) AC_CONFIG_SRCDIR([src/fluxbox.cc])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AC_USE_SYSTEM_EXTENSIONS AC_USE_SYSTEM_EXTENSIONS
AM_INIT_AUTOMAKE([foreign 1.10 tar-pax dist-bzip2 subdir-objects]) AM_INIT_AUTOMAKE([foreign 1.10 tar-pax dist-bzip2 subdir-objects])