[gnome-characters] build: Fix VPATH build



commit f99c7c3b9fd5b01d1e40c0dea3b4449ed2ef9556
Author: Daiki Ueno <dueno src gnome org>
Date:   Mon Feb 8 16:54:44 2016 +0900

    build: Fix VPATH build

 lib/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 1089af6..e73450a 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -22,9 +22,9 @@ libgc_la_SOURCES = $(libgc_la_sources) confusables.h scripts.h gc-enumtypes.h
 BUILT_SOURCES = gc-enumtypes.h gc-enumtypes.c
 
 gc-enumtypes.h: gc.h gc-enumtypes.h.template
-       $(AM_V_GEN) $(GLIB_MKENUMS) --identifier-prefix Gc --symbol-prefix gc --template 
gc-enumtypes.h.template gc.h > $ -t && mv $ -t $@ || rm $ -t
+       $(AM_V_GEN) $(GLIB_MKENUMS) --identifier-prefix Gc --symbol-prefix gc --template 
$(srcdir)/gc-enumtypes.h.template $(srcdir)/gc.h > $ -t && mv $ -t $@ || rm $ -t
 gc-enumtypes.c: gc.h gc-enumtypes.c.template
-       $(AM_V_GEN) $(GLIB_MKENUMS) --identifier-prefix Gc --symbol-prefix gc --template 
gc-enumtypes.c.template gc.h > $ -t && mv $ -t $@ || rm $ -t
+       $(AM_V_GEN) $(GLIB_MKENUMS) --identifier-prefix Gc --symbol-prefix gc --template 
$(srcdir)/gc-enumtypes.c.template $(srcdir)/gc.h > $ -t && mv $ -t $@ || rm $ -t
 
 EXTRA_DIST += gc-enumtypes.h.template gc-enumtypes.c.template
 


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