From 99a821a4de577274c67ef2559942d09fd85a3e9d Mon Sep 17 00:00:00 2001 From: Daniel Colascione Date: Mon, 19 Feb 2018 17:41:42 -0800 Subject: [PATCH] Fix out-of-tree build --- src/Makefile.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index e2950a02eb8..1e9e97ab170 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -411,11 +411,13 @@ base_obj = dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \ $(W32_OBJ) $(WINDOW_SYSTEM_OBJ) $(XGSELOBJ) $(JSON_OBJ) obj = $(base_obj) $(NS_OBJC_OBJ) -dmpstruct_headers=lisp.h buffer.h intervals.h charset.h +dmpstruct_headers=$(srcdir)/lisp.h $(srcdir)/buffer.h \ + $(srcdir)/intervals.h $(srcdir)/charset.h pdumper.o: dmpstruct.h -dmpstruct.h: dmpstruct.awk +dmpstruct.h: $(srcdir)/dmpstruct.awk dmpstruct.h: $(libsrc)/make-fingerprint$(EXEEXT) $(dmpstruct_headers) - POSIXLY_CORRECT=1 awk -f dmpstruct.awk $(dmpstruct_headers) > $@ + POSIXLY_CORRECT=1 awk -f $(srcdir)/dmpstruct.awk \ + $(dmpstruct_headers) > $@ ## Object files used on some machine or other. ## These go in the DOC file on all machines in case they are needed. -- 2.39.5