Made generated .h files depend on scripts generating them
parent
0ec302ac9b
commit
22befa7cc0
|
@ -51,7 +51,7 @@ mooapp_extra_dist = \
|
|||
$(mooapp)/gpl \
|
||||
$(mooapp_python_sources)
|
||||
|
||||
$(mooapp)/mooappabout-glade.h: $(mooapp_srcdir)/glade/mooappabout.glade
|
||||
$(mooapp)/mooappabout-glade.h: $(mooapp_srcdir)/glade/mooappabout.glade $(XML2H)
|
||||
mkdir -p $(mooapp)
|
||||
sh $(XML2H) MOO_APP_ABOUT_GLADE_UI $(mooapp_srcdir)/glade/mooappabout.glade > $(mooapp)/mooappabout-glade.h
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ mooedit_plugins_extra_dist = \
|
|||
$(mooedit_plugins)/moofind.glade \
|
||||
$(mooedit_plugins)/moofind-glade.h
|
||||
|
||||
$(mooedit_plugins)/moofind-glade.h: $(mooedit_plugins)/moofind.glade
|
||||
$(mooedit_plugins)/moofind-glade.h: $(mooedit_plugins)/moofind.glade $(XML2H)
|
||||
mkdir -p $(mooedit_plugins)
|
||||
sh $(XML2H) MOO_FIND_GLADE_XML $(mooedit_plugins_srcdir)/moofind.glade > \
|
||||
$(mooedit_plugins)/moofind-glade.h
|
||||
|
@ -156,23 +156,23 @@ mooedit_built_sources = \
|
|||
$(mooedit)/mooeditcolorsprefs-glade.h
|
||||
|
||||
|
||||
$(mooedit)/mooeditgotoline-glade.h: $(mooedit_srcdir)/glade/mooeditgotoline.glade
|
||||
$(mooedit)/mooeditgotoline-glade.h: $(mooedit_srcdir)/glade/mooeditgotoline.glade $(XML2H)
|
||||
sh $(XML2H) MOO_EDIT_GOTO_LINE_GLADE_UI $(mooedit_srcdir)/glade/mooeditgotoline.glade \
|
||||
> $(mooedit)/mooeditgotoline-glade.h
|
||||
|
||||
$(mooedit)/mooeditfind-glade.h: $(mooedit_srcdir)/glade/mooeditfind.glade
|
||||
$(mooedit)/mooeditfind-glade.h: $(mooedit_srcdir)/glade/mooeditfind.glade $(XML2H)
|
||||
sh $(XML2H) MOO_EDIT_FIND_GLADE_UI $(mooedit_srcdir)/glade/mooeditfind.glade \
|
||||
> $(mooedit)/mooeditfind-glade.h
|
||||
|
||||
$(mooedit)/mooeditprefs-glade.h: $(mooedit_srcdir)/glade/mooeditprefs.glade
|
||||
$(mooedit)/mooeditprefs-glade.h: $(mooedit_srcdir)/glade/mooeditprefs.glade $(XML2H)
|
||||
sh $(XML2H) MOO_EDIT_PREFS_GLADE_UI $(mooedit_srcdir)/glade/mooeditprefs.glade \
|
||||
> $(mooedit)/mooeditprefs-glade.h
|
||||
|
||||
$(mooedit)/mooeditcolorsprefs-glade.h: $(mooedit_srcdir)/glade/mooeditcolorsprefs.glade
|
||||
$(mooedit)/mooeditcolorsprefs-glade.h: $(mooedit_srcdir)/glade/mooeditcolorsprefs.glade $(XML2H)
|
||||
sh $(XML2H) MOO_EDIT_COLORS_PREFS_GLADE_UI $(mooedit_srcdir)/glade/mooeditcolorsprefs.glade \
|
||||
> $(mooedit)/mooeditcolorsprefs-glade.h
|
||||
|
||||
$(mooedit)/moopluginprefs-glade.h: $(mooedit_srcdir)/glade/moopluginprefs.glade
|
||||
$(mooedit)/moopluginprefs-glade.h: $(mooedit_srcdir)/glade/moopluginprefs.glade $(XML2H)
|
||||
sh $(XML2H) MOO_PLUGIN_PREFS_GLADE_UI $(mooedit_srcdir)/glade/moopluginprefs.glade \
|
||||
> $(mooedit)/moopluginprefs-glade.h
|
||||
|
||||
|
|
|
@ -128,19 +128,19 @@ $(moopython)/mooapp-pygtk.c: $(moopython)/mooapp-pygtk.defs $(moopython)/mooapp-
|
|||
--outfilename $(moopython)/mooapp-pygtk.c \
|
||||
$(moopython_srcdir)/mooapp-pygtk.defs > $(moopython)/mooapp-pygtk.c
|
||||
|
||||
$(moopython)/moo-mod.h: $(moopython)/moo-mod.py
|
||||
$(moopython)/moo-mod.h: $(moopython)/moo-mod.py $(PY2H)
|
||||
mkdir -p $(moopython)
|
||||
sh $(PY2H) MOO_PY $(moopython_srcdir)/moo-mod.py > $(moopython)/moo-mod.h
|
||||
$(moopython)/mooedit-mod.h: $(moopython)/mooedit-mod.py
|
||||
$(moopython)/mooedit-mod.h: $(moopython)/mooedit-mod.py $(PY2H)
|
||||
mkdir -p $(moopython)
|
||||
sh $(PY2H) MOO_EDIT_PY $(moopython_srcdir)/mooedit-mod.py > $(moopython)/mooedit-mod.h
|
||||
$(moopython)/mooapp-mod.h: $(moopython)/mooapp-mod.py
|
||||
$(moopython)/mooapp-mod.h: $(moopython)/mooapp-mod.py $(PY2H)
|
||||
mkdir -p $(moopython)
|
||||
sh $(PY2H) MOO_APP_PY $(moopython_srcdir)/mooapp-mod.py > $(moopython)/mooapp-mod.h
|
||||
$(moopython)/mooutils-mod.h: $(moopython)/mooutils-mod.py
|
||||
$(moopython)/mooutils-mod.h: $(moopython)/mooutils-mod.py $(PY2H)
|
||||
mkdir -p $(moopython)
|
||||
sh $(PY2H) MOO_UTILS_PY $(moopython_srcdir)/mooutils-mod.py > $(moopython)/mooutils-mod.h
|
||||
$(moopython)/mooterm-mod.h: $(moopython)/mooterm-mod.py
|
||||
$(moopython)/mooterm-mod.h: $(moopython)/mooterm-mod.py $(PY2H)
|
||||
mkdir -p $(moopython)
|
||||
sh $(PY2H) MOO_TERM_PY $(moopython_srcdir)/mooterm-mod.py > $(moopython)/mooterm-mod.h
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ $(mooterm_srcdir)/mootermparser-yacc.c: $(mooterm)/mootermparser-yacc.y
|
|||
mkdir -p $(mooterm)
|
||||
bison -o $(mooterm_srcdir)/mootermparser-yacc.c -d $(mooterm_srcdir)/mootermparser-yacc.y
|
||||
|
||||
$(mooterm)/mootermprefs-glade.h: $(mooterm)/glade/mootermprefs.glade
|
||||
$(mooterm)/mootermprefs-glade.h: $(mooterm)/glade/mootermprefs.glade $(XML2H)
|
||||
mkdir -p $(mooterm)
|
||||
sh $(XML2H) MOO_TERM_PREFS_GLADE_UI $(mooterm_srcdir)/glade/mootermprefs.glade \
|
||||
> $(mooterm)/mootermprefs-glade.h
|
||||
|
|
Loading…
Reference in New Issue