aboutsummaryrefslogtreecommitdiffstats
path: root/editors/tamago/files/patch-its-Makefile.in
blob: d92978653283794014426ae8ac86d280ea8cef52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- its/Makefile.in.orig    2016-05-15 21:22:18 UTC
+++ its/Makefile.in
@@ -336,8 +336,11 @@ $(am__aclocal_m4_deps):
      $(EMACS) --batch \
        $(AM_ELCFLAGS) $(ELCFLAGS) \
        $$am__subdir_includes -L $(builddir) -L $(srcdir) \
-       --eval "(defun byte-compile-dest-file (f) \"$@\")" \
+       --eval "(defun byte-compile-dest-file (f) \"/tmp/$@\")" \
        --eval "(unless (byte-compile-file \"$<\") (kill-emacs 1))"; \
+       if [ -f "/tmp/$@" ]; then \
+       cp /tmp/$@ $@ && rm -f /tmp/$@; \
+       fi; \
    else :; fi
 
 install-dist_lispLISP: $(dist_lisp_LISP) $(ELCFILES)