summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2017-03-13 13:54:24 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2017-03-13 13:54:24 +0000
commita2dc60cf05b704fd681bb8aebf358def8c4c0560 (patch)
treecfb460bc5c75d4e2bc518ec9573d154438145093
parent5ab5f994c2588c1ced79f7fba6a56adc6d948904 (diff)
Add m4/.gitignore
It picks more components, from the autotools build system, allows us to remove the autogen.sh workaround. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r--.gitignore1
-rw-r--r--Makefile.am2
-rwxr-xr-xautogen.sh1
-rw-r--r--m4/.gitignore5
4 files changed, 7 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 7c73669..3f95cde 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,4 +29,3 @@ kmscube
tags
TAGS
build-aux
-m4
diff --git a/Makefile.am b/Makefile.am
index eca8c7d..da54947 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,6 +21,8 @@
# SOFTWARE.
#
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+
bin_PROGRAMS = kmscube
kmscube_LDFLAGS = \
diff --git a/autogen.sh b/autogen.sh
index e24626b..354f254 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -6,7 +6,6 @@ test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
-mkdir -p m4
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?
diff --git a/m4/.gitignore b/m4/.gitignore
new file mode 100644
index 0000000..464ba5c
--- /dev/null
+++ b/m4/.gitignore
@@ -0,0 +1,5 @@
+libtool.m4
+lt~obsolete.m4
+ltoptions.m4
+ltsugar.m4
+ltversion.m4