chiark
/
gitweb
/
~ian
/
subdirmk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ad6795d
)
WIP
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 11 Nov 2019 00:03:27 +0000
(
00:03
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 11 Nov 2019 00:03:27 +0000
(
00:03
+0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index ae55373e20f7cd766a7ea4ee98ad58b78ca6579a..8b248a438a4a7d75875948378a3e2cbd10da4166 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-32,11
+32,16
@@
AC_PROG_CC
INCLUDES=
AC_SUBST(INCLUDES)
INCLUDES=
AC_SUBST(INCLUDES)
-AC_CONFIG_FILES(
- [Makefile]
- [lib/Makefile]
- [lib/t/Makefile]
- [src/Makefile])
+m4_define([SUBDIRSMK_SUBDIRS],
+[m4_map_args_w([$1],[_SUBDIRSMK_SUBDIR(],[/)])])dnl
+
+m4_define([_SUBDIRSMK_SUBDIR],
+[AC_CONFIG_FILES([$1Subdir.mk:$1Subdir.mk.tmp])])dnl
+dnl ,[subdirsmk_need_prep]
+dnl [AC_CONFIG_COMMANDS([$1Subdir.mk],)
+
+SUBDIRSMK_SUBDIRS([lib lib/t src])
+
AC_OUTPUT
dnl----- That's all, folks --------------------------------------------------
AC_OUTPUT
dnl----- That's all, folks --------------------------------------------------