[gnome-bluetooth] build: fix make rule for bluetooth-client-glue.c



commit 905d2b32d80a2177615f9587d8d0f59bf12a2b61
Author: Daniele Forsi <dforsi src gnome org>
Date:   Sat May 5 12:17:44 2012 +0200

    build: fix make rule for bluetooth-client-glue.c
    
    Otherwise bluetooth-client-glue.c is (re)built only as a side effect of
    (re)building bluetooth-client-glue.h which doesn't happen if you delete
    bluetooth-client-glue.c only.
    
    Fixes:
      CC     bluetooth-client-glue.lo
    gcc: error: bluetooth-client-glue.c: No such file or directory
    gcc: fatal error: no input files
    compilation terminated.

 lib/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/Makefile.am b/lib/Makefile.am
index f9e2bfe..70bac1e 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -118,7 +118,7 @@ MAINTAINERCLEANFILES = Makefile.in
 
 bluetooth-client-glue.c: bluetooth-client-glue.h
 
-bluetooth-client-glue.h: bluetooth-client.xml
+bluetooth-client-glue.c bluetooth-client-glue.h: bluetooth-client.xml
 	$(AM_V_GEN) $(GDBUS_CODEGEN) --c-namespace= --generate-c-code=bluetooth-client-glue --interface-prefix=org.bluez $<
 
 gnome_bluetooth_headers_to_scan_for_enums = bluetooth-enums.h



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