summaryrefslogtreecommitdiff
path: root/Makefile.in.dep.patch
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-08-13 21:24:07 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-08-13 21:24:07 +0200
commit7be4dc91e91394fc51c8fe2ace14fa716b6e7c34 (patch)
treebe8aee93b53b956ca3360f9fb4f3d4d8dc1de9f1 /Makefile.in.dep.patch
parentb036b05d9ad0ba367b6c99a046364ec912416f85 (diff)
Fix bootstrap hack for automake 1.16
* Makefile.in.dep.patch: New file. * configure.ac: Try to apply Makefile.in.dep.patch if config.status.dep.patch failed to apply.
Diffstat (limited to 'Makefile.in.dep.patch')
-rw-r--r--Makefile.in.dep.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile.in.dep.patch b/Makefile.in.dep.patch
new file mode 100644
index 00000000..72fb65f6
--- /dev/null
+++ b/Makefile.in.dep.patch
@@ -0,0 +1,19 @@
+--- Makefile.in
++++ Makefile.in
+@@ -4785,7 +4785,15 @@ distclean-compile:
+
+ $(am__depfiles_remade):
+ @$(MKDIR_P) $(@D)
+- @echo '# dummy' >$@-t && $(am__mv) $@-t $@
++ # Ugly bootstrap hack to get to-be-generated files created
++ # Try to guess what file this dependency file is from...
++ @f=$(srcdir)/`dirname "$(@D)"`/`basename "$@" .Po | sed s/lib[^-]\*-//` ; \
++ for f in "$$f"*; do \
++ case $$f in \
++ *.c | *.S) echo "$$f"': $$(filter-out $$(DIST_SOURCES),$$(SOURCES))' ;; \
++ *) echo '# dummy';; \
++ esac ; \
++ done >$@-t && $(am__mv) $@-t $@
+
+ am--depfiles: $(am__depfiles_remade)
+