summaryrefslogtreecommitdiff
path: root/Makefile-devel-adds
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile-devel-adds')
-rw-r--r--Makefile-devel-adds22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile-devel-adds b/Makefile-devel-adds
new file mode 100644
index 0000000..512a119
--- /dev/null
+++ b/Makefile-devel-adds
@@ -0,0 +1,22 @@
+#
+# Auto-regenerate configure script or Makefile when things change.
+# From autoconf.info . Works best with GNU Make.
+#
+${srcdir}/configure: configure.in
+ cd ${srcdir} && autoconf
+
+# autoheader might not change config.h.in, so touch a stamp file.
+${srcdir}/config.h.in: ${srcdir}/stamp-h.in
+${srcdir}/stamp-h.in: configure.in acconfig.h
+ cd ${srcdir} && autoheader
+ echo timestamp > ${srcdir}/stamp-h.in
+
+config.h: stamp-h
+stamp-h: ${srcdir}/config.h.in config.status
+ ./config.status
+
+Makefile: Makefile.in config.status
+ ./config.status
+
+config.status: ${srcdir}/configure
+ ./config.status --recheck