[gobject-introspection: 2/4] build: Built sources show up in subdirs



commit 0fd053f485767a1a42f5e73c4f2f122027505731
Author: Philip Chimento <philip chimento gmail com>
Date:   Tue Dec 1 22:07:29 2015 -0800

    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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]