]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Move our local m4 macros to gl/m4
authorPaul Smith <psmith@gnu.org>
Thu, 7 Jul 2022 05:38:26 +0000 (01:38 -0400)
committerPaul Smith <psmith@gnu.org>
Sat, 9 Jul 2022 14:47:13 +0000 (10:47 -0400)
The gl subdirectory contains our local versions of gnulib module
implementations, so move m4/acinclude.m4 and m4/dospaths.m4 there.

* gl/modules/make-macros: Create a new module to handle the macros.
* bootstrap.conf: Add the new module.
* configure.ac: Macro invocation is moved to make-macros.
* m4/.gitignore: Delete unnecessary ignore file: m4 is empty.
* .gitignore: Add m4/ as an ignored directory.

.gitignore
bootstrap.conf
configure.ac
gl/m4/acinclude.m4 [moved from m4/acinclude.m4 with 100% similarity]
gl/m4/dospaths.m4 [moved from m4/dospaths.m4 with 100% similarity]
gl/modules/make-macros [new file with mode: 0644]
m4/.gitignore [deleted file]

index ef5292f9877e4c6bda8c654e86de229caf8f68c2..6be365dd1a6c52492af8c6a6f9e5b90487d20669 100644 (file)
@@ -18,6 +18,7 @@ GTAGS
 
 # Configure artifacts
 /lib/
+/m4/
 ABOUT-NLS
 INSTALL
 Makefile
index 066c9e1b8d111e4f55beb00ff141718c0ec51a60..87533d139f30796e1f1d85e6f0fe21325551c28d 100644 (file)
@@ -57,4 +57,5 @@ fdl
 findprog-in
 getloadavg
 host-cpu-c-abi
-make-glob"
+make-glob
+make-macros"
index 270fc5e8f11bd16d40dae5249bf5b8c2aabbccb9..51817b2cc33d6450f72960d2ab02f28ee094347e 100644 (file)
@@ -110,9 +110,6 @@ AS_IF([test "$make_cv_file_timestamp_hi_res" = yes],
   ])
 ])
 
-# Check for DOS-style pathnames.
-pds_AC_DOS_PATHS
-
 # See if we have a standard version of gettimeofday().  Since actual
 # implementations can differ, just make sure we have the most common
 # one.
similarity index 100%
rename from m4/acinclude.m4
rename to gl/m4/acinclude.m4
similarity index 100%
rename from m4/dospaths.m4
rename to gl/m4/dospaths.m4
diff --git a/gl/modules/make-macros b/gl/modules/make-macros
new file mode 100644 (file)
index 0000000..c9ac32e
--- /dev/null
@@ -0,0 +1,16 @@
+Description:
+Install m4 macros for GNU make.
+
+Files:
+m4/acinclude.m4
+m4/dospaths.m4
+
+configure.ac:
+# Check for DOS-style pathnames.
+pds_AC_DOS_PATHS
+
+License:
+GPLv3+
+
+Maintainer:
+gnumake
diff --git a/m4/.gitignore b/m4/.gitignore
deleted file mode 100644 (file)
index 244385a..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-*
-!/.gitignore
-!/aclocal.m4
-!/dospaths.m4
-