Use AM_V_GEN for prettier output

This commit is contained in:
Yevgen Muntyan 2010-09-30 23:12:35 -07:00
parent c57e23ef1f
commit 7c041f4977
8 changed files with 28 additions and 28 deletions

View File

@ -26,8 +26,8 @@ CLEANFILES =
if MOO_OS_WIN32
CLEANFILES += plat/win32/installer.iss
plat/win32/installer.iss: $(top_srcdir)/plat/win32/installer.iss.in $(top_builddir)/config.status
$(MKDIR_P) plat/win32
cd $(top_builddir) && ./config.status --file=plat/win32/installer.iss
$(AM_V_at)$(MKDIR_P) plat/win32
$(AM_V_GEN)cd $(top_builddir) && ./config.status --silent --file=plat/win32/installer.iss
installer: plat/win32/installer.iss
$(MAKE) $(AM_MAKEFLAGS) install
$(MEDIT_INNO_COMPILER) plat/win32/installer.iss

View File

@ -21,7 +21,7 @@ moo_sources += moo-config.h
EXTRA_DIST += marshals.list
built_moo_sources += marshals.h
marshals.h: marshals.list
$(GLIB_GENMARSHAL) --prefix=_moo_marshal --header $(srcdir)/marshals.list > marshals.h.tmp \
$(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=_moo_marshal --header $(srcdir)/marshals.list > marshals.h.tmp \
&& mv marshals.h.tmp marshals.h
include xdgmime/Makefile.incl
@ -44,28 +44,28 @@ CLEANFILES += $(built_moo_sources) $(built_plugin_sources)
# $(PYTHON) $(top_srcdir)/tools/glade2c.py $< > $@.tmp && mv $@.tmp $@
%-gxml.h: mooutils/glade/%.glade $(top_srcdir)/tools/glade2c.py
$(PYTHON) $(top_srcdir)/tools/glade2c.py $< > $@.tmp && mv $@.tmp $@
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/glade2c.py $< > $@.tmp && mv $@.tmp $@
%-gxml.h: moofileview/glade/%.glade $(top_srcdir)/tools/glade2c.py
$(PYTHON) $(top_srcdir)/tools/glade2c.py $< > $@.tmp && mv $@.tmp $@
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/glade2c.py $< > $@.tmp && mv $@.tmp $@
%-gxml.h: mooedit/glade/%.glade $(top_srcdir)/tools/glade2c.py
$(PYTHON) $(top_srcdir)/tools/glade2c.py $< > $@.tmp && mv $@.tmp $@
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/glade2c.py $< > $@.tmp && mv $@.tmp $@
%-gxml.h: mooapp/glade/%.glade $(top_srcdir)/tools/glade2c.py
$(PYTHON) $(top_srcdir)/tools/glade2c.py $< > $@.tmp && mv $@.tmp $@
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/glade2c.py $< > $@.tmp && mv $@.tmp $@
%-gxml.h: plugins/glade/%.glade $(top_srcdir)/tools/glade2c.py
$(PYTHON) $(top_srcdir)/tools/glade2c.py $< > $@.tmp && mv $@.tmp $@
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/glade2c.py $< > $@.tmp && mv $@.tmp $@
%-gxml.h: plugins/usertools/glade/%.glade $(top_srcdir)/tools/glade2c.py
$(PYTHON) $(top_srcdir)/tools/glade2c.py $< > $@.tmp && mv $@.tmp $@
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/glade2c.py $< > $@.tmp && mv $@.tmp $@
# %-ui.h: %.xml $(top_srcdir)/tools/xml2h.py
# $(PYTHON) $(top_srcdir)/tools/xml2h.py $< $@.tmp $*_ui_xml && mv $@.tmp $@
# $(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/xml2h.py $< $@.tmp $*_ui_xml && mv $@.tmp $@
%-ui.h: moofileview/%.xml $(top_srcdir)/tools/xml2h.py
$(PYTHON) $(top_srcdir)/tools/xml2h.py $< $@.tmp $*_ui_xml && mv $@.tmp $@
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/xml2h.py $< $@.tmp $*_ui_xml && mv $@.tmp $@
%-ui.h: mooedit/%.xml $(top_srcdir)/tools/xml2h.py
$(PYTHON) $(top_srcdir)/tools/xml2h.py $< $@.tmp $*_ui_xml && mv $@.tmp $@
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/xml2h.py $< $@.tmp $*_ui_xml && mv $@.tmp $@

View File

@ -36,10 +36,10 @@ EXTRA_DIST += medit-app/medit.rc.in
if MOO_OS_WIN32
CLEANFILES += medit-app/medit.rc medit-app/medit.res
medit-app/medit.rc: medit-app/medit.rc.in $(top_builddir)/config.status
$(MKDIR_P) medit-app
cd $(top_builddir) && ./config.status --file=moo/medit-app/medit.rc
$(AM_V_at)$(MKDIR_P) medit-app
$(AM_V_GEN)cd $(top_builddir) && ./config.status --silent --file=moo/medit-app/medit.rc
medit-app/medit.res: medit-app/medit.rc
$(WINDRES) -i medit-app/medit.rc --input-format=rc -o medit-app/medit.res -O coff
$(AM_V_GEN)$(WINDRES) -i medit-app/medit.rc --input-format=rc -o medit-app/medit.res -O coff
medit_LDADD += medit-app/medit.res
endif
@ -48,8 +48,8 @@ if MOO_OS_UNIX
desktopdir = $(datadir)/applications
desktop_DATA = medit-app/medit.desktop
medit-app/medit.desktop: medit-app/medit.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po)
$(MKDIR_P) medit-app
LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
$(AM_V_at)$(MKDIR_P) medit-app
$(AM_V_GEN)LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
CLEANFILES += medit-app/medit.desktop
endif MOO_OS_UNIX

View File

@ -23,4 +23,4 @@ built_moo_sources += \
built_moo_sources += mooapp-credits.h
mooapp-credits.h: $(top_srcdir)/THANKS $(top_srcdir)/tools/xml2h.py
$(PYTHON) $(top_srcdir)/tools/xml2h.py $(top_srcdir)/THANKS mooapp-credits.h MOO_APP_CREDITS
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/xml2h.py $(top_srcdir)/THANKS mooapp-credits.h MOO_APP_CREDITS

View File

@ -14,5 +14,5 @@ moo_sources += \
built_plugins_sources += mooscript-classes-meta.h
EXTRA_DIST += mooscript/genmeta.py
mooscript-classes-meta.h: mooscript/mooscript-classes.h mooscript/genmeta.py
$(PYTHON) $(srcdir)/mooscript/genmeta.py $(srcdir)/mooscript/mooscript-classes.h > mooscript-classes-meta.h.tmp && \
$(AM_V_GEN)$(PYTHON) $(srcdir)/mooscript/genmeta.py $(srcdir)/mooscript/mooscript-classes.h > mooscript-classes-meta.h.tmp && \
mv mooscript-classes-meta.h.tmp mooscript-classes-meta.h

View File

@ -138,9 +138,9 @@ moo_sources += \
built_moo_sources += marshals.c
marshals.c: $(moo_srcdir)/marshals.list
$(MKDIR_P) mooutils
echo '#include "marshals.h"' > marshals.c.tmp
$(GLIB_GENMARSHAL) --prefix=_moo_marshal --body $(moo_srcdir)/marshals.list >> marshals.c.tmp \
$(AM_V_at)$(MKDIR_P) mooutils
$(AM_V_at)echo '#include "marshals.h"' > marshals.c.tmp
$(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=_moo_marshal --body $(moo_srcdir)/marshals.list >> marshals.c.tmp \
&& mv marshals.c.tmp marshals.c
mooutils_win32_sources = mooutils/mooutils-win32.c
@ -176,7 +176,7 @@ PIXMAPS = \
mooutils/pixmaps/medit.png
EXTRA_DIST += $(PIXMAPS)
stock-moo.h: $(PIXMAPS)
$(GDK_PIXBUF_CSOURCE) --static --build-list \
$(AM_V_GEN)$(GDK_PIXBUF_CSOURCE) --static --build-list \
MOO_HIDE_ICON $(moo_srcdir)/mooutils/pixmaps/hide.png \
MOO_CLOSE_ICON $(moo_srcdir)/mooutils/pixmaps/close.png \
MOO_STICKY_ICON $(moo_srcdir)/mooutils/pixmaps/sticky.png \
@ -188,7 +188,7 @@ stock-moo.h: $(PIXMAPS)
EXTRA_DIST += mooutils/pixmaps/symlink.png mooutils/pixmaps/symlink-small.png
moofileicon-symlink.h: mooutils/pixmaps/symlink.png mooutils/pixmaps/symlink-small.png
$(GDK_PIXBUF_CSOURCE) --static --build-list \
$(AM_V_GEN)$(GDK_PIXBUF_CSOURCE) --static --build-list \
SYMLINK_ARROW $(moo_srcdir)/mooutils/pixmaps/symlink.png \
SYMLINK_ARROW_SMALL $(moo_srcdir)/mooutils/pixmaps/symlink-small.png \
> $@.tmp && mv $@.tmp $@

View File

@ -26,13 +26,13 @@ built_plugins_sources += \
EXTRA_DIST += plugins/moopython.py
built_plugins_sources += plugins/moopython-py.h
plugins/moopython-py.h: plugins/moopython.py $(top_srcdir)/tools/xml2h.py
$(MKDIR_P) plugins
$(PYTHON) $(top_srcdir)/tools/xml2h.py $< $@.tmp MOO_PYTHON_PY && mv $@.tmp $@
$(AM_V_at)$(MKDIR_P) plugins
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/xml2h.py $< $@.tmp MOO_PYTHON_PY && mv $@.tmp $@
EXTRA_DIST += plugins/lua-module-setup.lua
built_plugins_sources += lua-module-setup.h
lua-module-setup.h: plugins/lua-module-setup.lua $(top_srcdir)/tools/xml2h.py
$(PYTHON) $(top_srcdir)/tools/xml2h.py $(srcdir)/plugins/lua-module-setup.lua lua-module-setup.h.tmp LUA_MODULE_SETUP_CODE \
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/xml2h.py $(srcdir)/plugins/lua-module-setup.lua lua-module-setup.h.tmp LUA_MODULE_SETUP_CODE \
&& mv lua-module-setup.h.tmp lua-module-setup.h
include plugins/ctags/Makefile.incl

View File

@ -12,5 +12,5 @@ built_plugins_sources += mooedittools-lua-gxml.h
EXTRA_DIST += plugins/usertools/lua/lua-tool-setup.lua
built_plugins_sources += lua-tool-setup.h
lua-tool-setup.h: plugins/usertools/lua/lua-tool-setup.lua $(top_srcdir)/tools/xml2h.py
$(PYTHON) $(top_srcdir)/tools/xml2h.py $(srcdir)/plugins/usertools/lua/lua-tool-setup.lua lua-tool-setup.h.tmp LUA_SETUP_CODE \
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/xml2h.py $(srcdir)/plugins/usertools/lua/lua-tool-setup.lua lua-tool-setup.h.tmp LUA_SETUP_CODE \
&& mv lua-tool-setup.h.tmp lua-tool-setup.h