diff options
-rw-r--r-- | Makefile.am | 24 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 14 insertions, 13 deletions
diff --git a/Makefile.am b/Makefile.am index 3c5a738..4d66b8a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -118,25 +118,25 @@ EXTRA_DIST = bashast/bashast.g \ $(GUNIT_LOG_COMPILER) coding_standard.pdf: coding_standard/coding_standard.tex - @PDFLATEX@ coding_standard/coding_standard.tex 2&>1 > /dev/null + $(AM_V_GEN)@PDFLATEX@ coding_standard/coding_standard.tex 2&>1 > /dev/null ANTLR = @JAVA@ -classpath @antlr_cp@ org.antlr.Tool cgrammar.run: bashast.g - touch $@.tmp - $(ANTLR) -fo . $< - mv $@.tmp $@ + $(AM_V_at)touch $@.tmp + $(AM_V_GEN)$(ANTLR) -fo . $< + $(AM_V_at)mv $@.tmp $@ bashast.g: bashast/bashast.g - sed -e 's/CommonTree/pANTLR3_BASE_TREE/g' -e 's/Java/C/g' $< > $@ + $(AM_V_at)sed -e 's/CommonTree/pANTLR3_BASE_TREE/g' -e 's/Java/C/g' $< > $@ # Avoid initializing C++ type to NULL by sed, variables whose name # starts with libbash_ will be stripped walker.run: bashast/bashwalker.g cgrammar.run - touch $@.tmp - $(ANTLR) -fo . $< - sed -i -e 's/\(libbash_.*\) = NULL/\1/' bashwalker.c - mv $@.tmp $@ + $(AM_V_at)touch $@.tmp + $(AM_V_GEN)$(ANTLR) -fo . $< + $(AM_V_at)sed -i -e 's/\(libbash_.*\) = NULL/\1/' bashwalker.c + $(AM_V_GEN)mv $@.tmp $@ $(GENERATED_PARSER_C): cgrammar.run $(GENERATED_PARSER_H): cgrammar.run @@ -145,8 +145,8 @@ $(GENERATED_WALKER_C): walker.run $(GENERATED_WALKER_H): walker.run bashast/javagrammar.run: bashast/bashast.g - touch $@.tmp - $(ANTLR) -fo bashast $< - mv $@.tmp $@ + $(AM_V_at)touch $@.tmp + $(AM_V_GEN)$(ANTLR) -fo bashast $< + $(AM_V_at)mv $@.tmp $@ $(check_JAVA): bashast/javagrammar.run diff --git a/configure.ac b/configure.ac index 445460e..5dd5b0b 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,8 @@ dnl ############################################# AC_PREREQ(2.65) AC_CONFIG_MACRO_DIR([m4]) AC_INIT([libbash],[0.1],[powerofazure@gmail.com]) -AM_INIT_AUTOMAKE([foreign parallel-tests color-tests subdir-objects]) +AM_INIT_AUTOMAKE([foreign parallel-tests color-tests subdir-objects 1.11]) +AM_SILENT_RULES([yes]) AC_PROG_CXX LT_INIT |