瀏覽代碼

build: set default verbosity to 0 and tweak the LolFx build rule so that

it understands V=0 and V=1.
legacy
Sam Hocevar sam 12 年之前
父節點
當前提交
8e62b9a2c0
共有 2 個文件被更改,包括 7 次插入1 次删除
  1. +6
    -1
      build/autotools/common.am
  2. +1
    -0
      configure.ac

+ 6
- 1
build/autotools/common.am 查看文件

@@ -42,9 +42,14 @@ generated-recursive:
# .lolfx build rule
#

lolfx_gen = $(lolfx_gen_$(V))
lolfx_gen_ = $(lolfx_gen_$(AM_DEFAULT_VERBOSITY))
lolfx_gen_0 = @echo " LOLFX " $@;

SUFFIXES = .lolfx
.lolfx.o:
(echo "char const *"; \
$(lolfx_gen)
$(AM_V_at)(echo "char const *"; \
echo "lolfx_$(notdir $(basename $(filter %.lolfx, $^))) ="; \
$(SED) 's/"/\\"/g' $(filter %.lolfx, $^) | $(SED) 's/\([^\r]*\).*/"\1\\n"/'; \
echo ";") \


+ 1
- 0
configure.ac 查看文件

@@ -6,6 +6,7 @@ AC_CONFIG_AUX_DIR(.auto)
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE([subdir-objects no-define tar-ustar silent-rules])
dnl AM_MAINTAINER_MODE
AM_DEFAULT_VERBOSITY=0

dnl Versioning of the separate software we ship
LOLUNIT_VERSION=0.1


Loading…
取消
儲存