]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix out-of-tree build
authorDaniel Colascione <dancol@dancol.org>
Tue, 20 Feb 2018 01:41:42 +0000 (17:41 -0800)
committerDaniel Colascione <dancol@dancol.org>
Tue, 20 Feb 2018 01:41:42 +0000 (17:41 -0800)
src/Makefile.in

index e2950a02eb8e465fe457fe25dcf15e3a6d6ca60d..1e9e97ab170fed98e6879966dadea433efeaa711 100644 (file)
@@ -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.