Ensure the m4 directory exists so that autoreconf doesn't complain
authorJennifer Richards <jennifer@painless-security.com>
Wed, 23 May 2018 19:47:36 +0000 (15:47 -0400)
committerJennifer Richards <jennifer@painless-security.com>
Wed, 23 May 2018 19:47:36 +0000 (15:47 -0400)
  * Add a throwaway hidden file so git creates the directory
  * Add an exception in .gitignore so this file is not ignored

.gitignore
m4/.ignore-this-file [new file with mode: 0644]

index 7159568..6dab25d 100644 (file)
@@ -13,7 +13,8 @@ configure
 Makefile.in
 Makefile
 autom4te.cache
 Makefile.in
 Makefile
 autom4te.cache
-m4
+m4/*
+!m4/.ignore-this-file
 ltmain.sh
 libtool
 config.*
 ltmain.sh
 libtool
 config.*
diff --git a/m4/.ignore-this-file b/m4/.ignore-this-file
new file mode 100644 (file)
index 0000000..15a8762
--- /dev/null
@@ -0,0 +1,2 @@
+This file only exists to ensure the m4 directory exists in the git repository.
+Without it, autoreconf complains when building for the first time.