From ab0f4df2b464ef462b20fb8ddff82d3298ce4aa1 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 14 Nov 2008 22:47:33 +0000 Subject: [PATCH] Use metacity for building Tidy-1.0.gir as well; fix up dependencies svn path=/trunk/; revision=51 --- src/Makefile.am | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 8002436e8..3ec54d4ad 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -32,9 +32,7 @@ libgnome_shell_la_CPPFLAGS = $(gnome_shell_cflags) typelibdir = $(pkglibdir)/girepository typelib_DATA = Shell-0.1.typelib Tidy-1.0.typelib -# After we run g-ir-scanner, we need to change the library name written in -# the .gir file from the "fake" second copy of the library to the real name -Shell-0.1.gir: $(metacity) $(G_IR_SCANNER) $(libgnome_shell_la_SOURCES) Makefile +Shell-0.1.gir: $(metacity) $(G_IR_SCANNER) libgnome-shell.la Makefile $(G_IR_SCANNER) \ --namespace=Shell \ --nsversion=0.1 \ @@ -53,15 +51,13 @@ Shell-0.1.typelib: libgnome-shell.la Shell-0.1.gir LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}. g-ir-compiler Shell-0.1.gir -o $@ CLEANFILES += Shell-1.0.typelib -# After we run g-ir-scanner, we need to change the library name written in -# the .gir file from the "fake" second copy of the library to the real name -Tidy-1.0.gir: $(tidy_source_h) $(tidy_source_c) Makefile +Tidy-1.0.gir: $(metacity) $(G_IR_SCANNER) libgnome-shell.la libtidy-1.0.la Makefile $(G_IR_SCANNER) \ --namespace=Tidy \ --nsversion=1.0 \ --include=Clutter-0.8 \ - --library=tidy-1.0 \ - --pkg=clutter-0.8 \ + --program=metacity \ + --program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \ $(tidy_source_h) \ $(tidy_source_c) \ $(tidy_cflags) \