summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README2
-rw-r--r--dolt.m43
2 files changed, 4 insertions, 1 deletions
diff --git a/README b/README
index 59ff4f0..3be18b8 100644
--- a/README
+++ b/README
@@ -11,6 +11,6 @@ steps:
- add DOLT after the call to LT_INIT, AC_PATH_LIBTOOL, or AM_PATH_LIBTOOL in
your configure.ac or configure.in script
- append dolt.m4 to your project's acinclude.m4
-
+- Add DISTCLEANFILES = @DOLT_CLEANFILES@ to your Makefile.am
For any platform Dolt does not support, it will transparently fall back to
libtool.
diff --git a/dolt.m4 b/dolt.m4
index 18e3141..493ac85 100644
--- a/dolt.m4
+++ b/dolt.m4
@@ -163,6 +163,9 @@ __DOLTLIBTOOL__EOF__
dnl Done writing out doltlibtool; substitute it for libtool.
chmod +x doltlibtool
LIBTOOL='$(top_builddir)/doltlibtool'
+
+DOLT_CLEANFILES="doltlibtool doltcompile"
+AC_SUBST(DOLT_CLEANFILES)
])
AC_SUBST(LTCOMPILE)
AC_SUBST(LTCXXCOMPILE)