Skip to content

Commit

Permalink
[build] Replace obsolete .SILENT with MAKEFLAGS += ...
Browse files Browse the repository at this point in the history
  • Loading branch information
thoni56 committed May 15, 2021
1 parent 6c19822 commit bcd3368
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
# That should build Cgreen in the build directory, run some tests,
# install it locally and generate a distributable package.

ifndef VERBOSE
MAKEFLAGS += --no-print-directory
endif

all: build/Makefile
cd build; make

Expand Down Expand Up @@ -143,5 +147,3 @@ build:

build/Makefile: build
cd build; cmake ..

.SILENT:
2 changes: 1 addition & 1 deletion tools/cgreen_xml_output_diff
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ echo "s/in [0-9]+ms\./in 0ms\./g" >> $tempfile

# - library prefix
echo s/\"${prefix}${name}\"/\"${name}\"/g >> $tempfile
exit -1

# - source path, ensure parenthesis are not interpreted by sed -E
# but allow any characters before sourcedir in the string
echo s%\".*${sourcedir//[\(\)]/.}/%\"%g >> $tempfile
Expand Down

0 comments on commit bcd3368

Please sign in to comment.