Do not use automake rules for mooedit-enums.*

master
Yevgen Muntyan 2008-01-18 13:47:26 -06:00
parent 2784c609e0
commit 3aa1205419
1 changed files with 4 additions and 11 deletions

View File

@ -124,10 +124,6 @@ mooedit_printing_sources = \
mootextprint-private.h \ mootextprint-private.h \
mootextprint.h mootextprint.h
BUILT_SOURCES = \
mooedit-enums.c \
mooedit-enums.h
mooedit_enums_headers = \ mooedit_enums_headers = \
moocommand.h \ moocommand.h \
mooeditconfig.h \ mooeditconfig.h \
@ -137,12 +133,9 @@ mooedit_enums_headers = \
mootextsearch.h \ mootextsearch.h \
mootextview.h mootextview.h
CLEANFILES = stamp-mooedit-enums.h stamp-mooedit-enums.c BUILT_SOURCES = stamp-mooedit-enums-h stamp-mooedit-enums-c
mooedit-enums.h: stamp-mooedit-enums.h CLEANFILES = stamp-mooedit-enums-h stamp-mooedit-enums-c
@true stamp-mooedit-enums-h: $(mooedit_enums_headers) Makefile
mooedit-enums.c: stamp-mooedit-enums.c
@true
stamp-mooedit-enums.h: $(mooedit_enums_headers) Makefile
( cd $(srcdir) && glib-mkenums \ ( cd $(srcdir) && glib-mkenums \
--fhead "#ifndef MOO_EDIT_ENUMS_H\n#define MOO_EDIT_ENUMS_H\n\n#include <glib-object.h>\n" \ --fhead "#ifndef MOO_EDIT_ENUMS_H\n#define MOO_EDIT_ENUMS_H\n\n#include <glib-object.h>\n" \
--fhead "\nG_BEGIN_DECLS\n\n\n" \ --fhead "\nG_BEGIN_DECLS\n\n\n" \
@ -153,7 +146,7 @@ stamp-mooedit-enums.h: $(mooedit_enums_headers) Makefile
&& (cmp -s xgen-gtbh $(srcdir)/mooedit-enums.h || cp xgen-gtbh $(srcdir)/mooedit-enums.h ) \ && (cmp -s xgen-gtbh $(srcdir)/mooedit-enums.h || cp xgen-gtbh $(srcdir)/mooedit-enums.h ) \
&& rm -f xgen-gtbh \ && rm -f xgen-gtbh \
&& echo timestamp > $(@F) && echo timestamp > $(@F)
stamp-mooedit-enums.c: $(mooedit_enums_headers) Makefile stamp-mooedit-enums-c: $(mooedit_enums_headers) Makefile
( cd $(srcdir) && glib-mkenums \ ( cd $(srcdir) && glib-mkenums \
--fhead "#include \"mooedit/mooedit-enums.h\"\n\n" \ --fhead "#include \"mooedit/mooedit-enums.h\"\n\n" \
--fprod "#include \"mooedit/@filename@\"\n\n" \ --fprod "#include \"mooedit/@filename@\"\n\n" \