summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-01-29 16:25:57 -0500
committerTingPing <tingping@tingping.se>2014-01-29 16:25:57 -0500
commita4663693566388850a08b7aa5a7b3c072418b0f4 (patch)
tree3aa8d116eb34692ad98ea9b473ca55b929848772
parent007f49c39f58abf6424f9a3612b025af4790f05a (diff)
Respect verbosity setting when building htm
-rw-r--r--src/htm/Makefile.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/htm/Makefile.am b/src/htm/Makefile.am
index 85480402..e524bf27 100644
--- a/src/htm/Makefile.am
+++ b/src/htm/Makefile.am
@@ -1,10 +1,13 @@
-MDTOOL_OPTS = --verbose
-
 theme_SCRIPTS = thememan.exe thememan
 themedir = $(bindir)
 
+mdtool_verbose = $(mdtool_verbose_$(V))
+mdtool_verbose_ = $(mdtool_verbose_$(AM_DEFAULT_VERBOSITY))
+mdtool_verbose_0 = @echo "  MDTOOL  " $@; $(MDTOOL) build $< > /dev/null;
+mdtool_verbose_1 = $(MDTOOL) --verbose build $<;
+
 thememan.exe: htm-mono.csproj
-	$(MDTOOL) $(MDTOOL_OPTS) build $<
+	$(mdtool_verbose)
 
 clean-local:
 	rm -f thememan.exe thememan.exe.config thememan.exe.mdb thememan Main.resources