[RFC 1/7] kconfig/Makefile: add pretty printer for moc(1)

From: Arnaud Lacombe
Date: Fri Jul 01 2011 - 21:49:04 EST


---
scripts/kconfig/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 84abb2f..ce46407 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -320,8 +320,11 @@ $(obj)/zconf.tab.o: $(obj)/lex.zconf.c $(obj)/zconf.hash.c

$(obj)/qconf.o: $(obj)/qconf.moc

+quiet_cmd_moc = MOC $@
+cmd_moc = $(KC_QT_MOC) -i $< -o $@
+
$(obj)/%.moc: $(src)/%.h
- $(KC_QT_MOC) -i $< -o $@
+ $(call cmd,moc)

# Extract gconf menu items for I18N support
$(obj)/gconf.glade.h: $(obj)/gconf.glade
--
1.7.3.4.574.g608b.dirty

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/