From 3d01bda0d99fe5c84a1708a1a2bf7c62e2e2db76 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Thu, 2 Jun 2022 17:48:07 +0300 Subject: [PATCH] Improve build system --- .gitignore | 15 +++++++++------ INSTALL | 1 - NEWS | 1 + NEWS.md | 0 autogen.sh | 2 ++ configure.ac | 1 + 6 files changed, 13 insertions(+), 7 deletions(-) delete mode 120000 INSTALL mode change 100644 => 120000 NEWS create mode 100644 NEWS.md diff --git a/.gitignore b/.gitignore index ce5c556..7411da9 100644 --- a/.gitignore +++ b/.gitignore @@ -3,9 +3,7 @@ ########################## *.a -*.bin *.c.d -*.img *.o .deps/ @@ -15,6 +13,7 @@ # Always generated in root # ############################ +/INSTALL /aclocal.m4 /ar-lib /autom4te.cache/ @@ -32,6 +31,8 @@ /missing /test-driver +# Custom + /Makefile.in ########################################### @@ -44,11 +45,13 @@ /stamp-h1 /test-suite.log -/Makefile - -/loadwarka - /examples/*.log /examples/*.trs /tests/test*.log /tests/test*.trs + +# Custom + +/Makefile + +/loadwarka diff --git a/INSTALL b/INSTALL deleted file mode 120000 index e3f22c0..0000000 --- a/INSTALL +++ /dev/null @@ -1 +0,0 @@ -/usr/share/automake-1.16/INSTALL \ No newline at end of file diff --git a/NEWS b/NEWS deleted file mode 100644 index e69de29..0000000 diff --git a/NEWS b/NEWS new file mode 120000 index 0000000..7b97b99 --- /dev/null +++ b/NEWS @@ -0,0 +1 @@ +NEWS.md \ No newline at end of file diff --git a/NEWS.md b/NEWS.md new file mode 100644 index 0000000..e69de29 diff --git a/autogen.sh b/autogen.sh index 73181a8..91107fc 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,3 +1,5 @@ #!/bin/sh +set -eux + exec autoreconf -isf diff --git a/configure.ac b/configure.ac index cc1f6ee..3071f21 100644 --- a/configure.ac +++ b/configure.ac @@ -8,6 +8,7 @@ AC_INIT([loadwarka], AC_CONFIG_HEADERS([config.h]) AC_CONFIG_SRCDIR([src/main.c]) +AC_CANONICAL_BUILD AC_CANONICAL_HOST