fmake

make any project just by typing `fmake`

commit 53b6f217223d1ff8432c46668feefff341d24bff
parent 740a473730a86ea953d0209aa50313344ac6d3fb
Author: Bharatvaj Hemanth <bharatvaj@getsh.org>
Date: Tue, 29 Nov 2022 20:49:01 +0530

Fix order of configure.ac and configure
1 file changed, 2 insertions(+), 2 deletions(-)
M
config.h
|
4
++--
diff --git a/config.h b/config.h
@@ -6,8 +6,8 @@ typedef enum {
 	FMAKE_BSD_MAKEFILE,
 	FMAKE_NINJA,
 	FMAKE_O_MAKEFILE,
-	FMAKE_AUTORECONF,
 	FMAKE_CONFIGURE,
+	FMAKE_AUTORECONF,
 	FMAKE_CMAKE,
 	FMAKE_GN,
 	FMAKE_NPM,

@@ -30,8 +30,8 @@ static const maker_config_t makers[] = {
 { "BSDMakefile",    FMAKE_BSD_MAKEFILE,   "bmake",         ""            },
 { "build.ninja",    FMAKE_NINJA,          "ninja",         ""            },
 { "OMakefile",      FMAKE_O_MAKEFILE,     "omake",         ""            },
-{ "configure.ac",   FMAKE_AUTORECONF,     "autoreconf",    "-i"          },
 { "configure",      FMAKE_CONFIGURE,      "sh",            "configure"   },
+{ "configure.ac",   FMAKE_AUTORECONF,     "autoreconf",    "-i"          },
 { "CMakeLists.txt", FMAKE_CMAKE,          "cmake",         "-B out"      },
 { "BUILD.gn",       FMAKE_GN,             "gn",            "gen out"     },
 { "package.json",   FMAKE_NPM,            "npm",           "install"     },