From 50dfb21d6f62587160bd685e8473b85360ca45c6 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 14 Nov 2008 21:52:48 +0000 Subject: [PATCH] Ensure we clean out the .gir and .typelibs svn path=/trunk/; revision=48 --- src/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 7d81a3790..a1584f7da 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -45,11 +45,13 @@ Shell-0.1.gir: $(metacity) $(G_IR_SCANNER) $(libgnome_shell_la_SOURCES) Makefile $(libgnome_shell_la_SOURCES) \ $(libgnome_shell_la_CPPFLAGS) \ -o $@ +CLEANFILES += Shell-1.0.gir # The dependency on libgnome-shell.la here is because g-ir-compiler opens it # (not the fake library, since we've already done the rewriting) 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 @@ -63,10 +65,11 @@ Tidy-1.0.gir: $(libgnome_shell_la_SOURCES) Makefile $(tidy_source_h) \ $(tidy_source_c) \ $(tidy_cflags) \ - -o $@.tmp - sed 's/gnome-shell-introspect/gnome-shell/' < $@.tmp > $@ && rm $@.tmp + -o $@ +CLEANFILES += Tidy-1.0.gir # The dependency on libgnome-shell.la here is because g-ir-compiler opens it # (not the fake library, since we've already done the rewriting) Tidy-1.0.typelib: libgnome-shell.la Tidy-1.0.gir LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}. g-ir-compiler Tidy-1.0.gir -o $@ +CLEANFILES += Tidy-1.0.typelib \ No newline at end of file