From 0fd053f485767a1a42f5e73c4f2f122027505731 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Tue, 1 Dec 2015 22:07:29 -0800 Subject: build: Built sources show up in subdirs Since activating the subdir-objects option, the .c and .h files generated by Yacc and Lex will show up in the same directory as the source .y and .l files. The Makefile's BUILT_SOURCES directive should reflect that. See #120. --- Makefile-giscanner.am | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile-giscanner.am b/Makefile-giscanner.am index b0e13732..06bc4be4 100644 --- a/Makefile-giscanner.am +++ b/Makefile-giscanner.am @@ -1,15 +1,15 @@ ## Process this file with automake to produce Makefile.in -BUILT_SOURCES += \ - scannerparser.c \ - scannerparser.h \ - scannerlexer.c \ - scannerlexer.h +BUILT_SOURCES += \ + giscanner/scannerparser.c \ + giscanner/scannerparser.h \ + giscanner/scannerlexer.c \ + giscanner/scannerlexer.h AM_YFLAGS = -d -t # Why do I have to do this automake? -scannerlexer.h: scannerlexer.c +giscanner/scannerlexer.h: giscanner/scannerlexer.c noinst_LTLIBRARIES += libgiscanner.la -- cgit v1.2.1