diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-01-18 15:59:21 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2009-01-18 15:59:21 (GMT) |
commit | f8f243a0620938f655f7fdf45d73f3a387436462 (patch) | |
tree | fa3c43ff2aa3a63bf6d20d038e52ae79cd44a862 /libview/Makefile.am | |
parent | 451e3d74f9fb9b885428336e4125406b29c1ed4d (diff) |
Make EvJobPriority a proper GType. Fixes bug #567788.
2009-01-18 Tomeu Vizoso <tomeu@sugarlabs.org>
* libview/Makefile.am:
* libview/ev-view-type-builtins.c.template:
* libview/ev-view-type-builtins.h.template:
Make EvJobPriority a proper GType. Fixes bug #567788.
svn path=/trunk/; revision=3353
Diffstat (limited to 'libview/Makefile.am')
-rw-r--r-- | libview/Makefile.am | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/libview/Makefile.am b/libview/Makefile.am index dfdb20e..e41b3a8 100644 --- a/libview/Makefile.am +++ b/libview/Makefile.am @@ -22,7 +22,8 @@ NOINST_H_FILES = \ INST_H_FILES = \ ev-jobs.h \ ev-page-cache.h \ - ev-view.h + ev-view.h \ + ev-view-type-builtins.h headerdir = $(prefix)/include/evince/@EV_API_VERSION@/ev-view header_DATA = $(INST_H_FILES) @@ -37,12 +38,15 @@ libevview_la_SOURCES = \ ev-view.c \ ev-view-accessible.c \ ev-view-marshal.c \ + ev-view-type-builtins.c \ $(NOINST_H_FILES) \ $(INST_H_FILES) BUILT_SOURCES = \ ev-view-marshal.h \ - ev-view-marshal.c + ev-view-marshal.c \ + ev-view-type-builtins.c \ + ev-view-type-builtins.h CLEANFILES = $(BUILT_SOURCES) @@ -54,3 +58,18 @@ ev-view-marshal.c: $(srcdir)/ev-view-marshal.list $(GLIB_GENMARSHAL) --prefix=ev_view_marshal $(srcdir)/ev-view-marshal.list --body >> $@ EXTRA_DIST = ev-view-marshal.list + +ev-view-type-builtins.h: stamp-ev-view-type-builtins.h + @true + +stamp-ev-view-type-builtins.h: ev-view-type-builtins.h.template ev-job-scheduler.h + $(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 ev-job-scheduler.h + $(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 + |