X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libview%2FMakefile.am;h=889a90ff1000261af33b26015087ff992444218a;hb=edd062df3b09f70915c23cd7b0fe3788b62beb0e;hp=3a16b26bb9c6b3e882416f86623bdfacda5fe5df;hpb=229170c1870cdc32fdd7dcf28136f437dc4cbab2;p=evince.git diff --git a/libview/Makefile.am b/libview/Makefile.am index 3a16b26b..889a90ff 100644 --- a/libview/Makefile.am +++ b/libview/Makefile.am @@ -1,3 +1,5 @@ +QUIET_GEN = $(Q:@=@echo ' GEN '$@;) + lib_LTLIBRARIES = libevview.la NOINST_H_FILES = \ @@ -71,23 +73,23 @@ BUILT_SOURCES = \ CLEANFILES = $(BUILT_SOURCES) stamp-ev-view-type-builtins.h ev-view-marshal.h: $(srcdir)/ev-view-marshal.list - $(GLIB_GENMARSHAL) --prefix=ev_view_marshal $(srcdir)/ev-view-marshal.list --header --internal > $@ + $(QUIET_GEN)$(GLIB_GENMARSHAL) --prefix=ev_view_marshal $(srcdir)/ev-view-marshal.list --header --internal > $@ ev-view-marshal.c: $(srcdir)/ev-view-marshal.list - echo '#include ' > ev-view-marshal.c + $(QUIET_GEN)echo '#include ' > ev-view-marshal.c $(GLIB_GENMARSHAL) --prefix=ev_view_marshal $(srcdir)/ev-view-marshal.list --header --internal --body >> $@ ev-view-type-builtins.h: stamp-ev-view-type-builtins.h @true stamp-ev-view-type-builtins.h: ev-view-type-builtins.h.template $(INST_H_FILES) - $(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-etbh \ + $(QUIET_GEN)$(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-etbh \ && (cmp -s xgen-etbh ev-view-type-builtins.h || cp xgen-etbh ev-view-type-builtins.h ) \ && rm -f xgen-etbh \ && echo timestamp > $(@F) ev-view-type-builtins.c: ev-view-type-builtins.c.template $(INST_H_FILES) - $(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-etbc \ + $(QUIET_GEN)$(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-etbc \ && (cmp -s xgen-etbc ev-view-type-builtins.c || cp xgen-etbc ev-view-type-builtins.c ) \ && rm -f xgen-etbc @@ -103,27 +105,25 @@ if ENABLE_INTROSPECTION EvinceView-$(EV_API_VERSION).gir: libevview.la Makefile $(INST_H_FILES) PKG_CONFIG_PATH=$(top_builddir):$$PKG_CONFIG_PATH \ $(G_IR_SCANNER) -v --namespace EvinceView \ - --add-include-path=$(srcdir) \ - --add-include-path=. \ - --add-include-path=$(top_srcdir) \ - --add-include-path=$(top_builddir) \ --add-include-path=$(top_builddir)/libdocument \ --strip-prefix=Ev \ --nsversion=$(EV_API_VERSION) \ + --include=GLib-2.0 \ + --include=GObject-2.0 \ --include=Gio-2.0 \ + --include=Gdk-2.0 \ + --include=GdkPixbuf-2.0 \ --include=Gtk-2.0 \ - --include=EvDocument-$(EV_API_VERSION) \ + --include=EvinceDocument-$(EV_API_VERSION) \ --library=evview \ - --libtool="$(LIBTOOL)" \ + --libtool="$(SHAVE_SAVED_LIBTOOL)" \ --output $@ \ - --pkg gobject-2.0 \ - --pkg gio-2.0 \ - --pkg gtk+-2.0 \ + --pkg evince-document-$(EV_API_VERSION) \ --pkg evince-view-$(EV_API_VERSION) \ -I$(top_srcdir) \ -I$(top_builddir) \ -DEVINCE_COMPILATION \ - $(INST_H_FILES) + $(filter %.h,$^) girdir = $(GIRDIR) gir_DATA = EvinceView-$(EV_API_VERSION).gir