chiark / gitweb /
fix out of tree builds
[subdirmk.git] / configure.ac
index ae55373..acd7f47 100644 (file)
@@ -32,11 +32,11 @@ AC_PROG_CC
 INCLUDES=
 AC_SUBST(INCLUDES)
 
-AC_CONFIG_FILES(
-  [Makefile]
-  [lib/Makefile]
-  [lib/t/Makefile]
-  [src/Makefile])
+m4_include([subdirmk/subdirmk.ac])
+
+SUBDIRMK_SUBDIRS([lib])
+SUBDIRMK_SUBDIRS([lib/t src])
+
 AC_OUTPUT
 
 dnl----- That's all, folks --------------------------------------------------