BUILD: Makefile: add "$(Q)" to clean, tags and cscope targets

These ones didn't have the quiet mode yet.
This commit is contained in:
Willy Tarreau 2018-11-19 08:14:40 +01:00
parent 4ab5d030c7
commit 6db8266409
1 changed files with 6 additions and 6 deletions

View File

@ -1014,17 +1014,17 @@ uninstall:
$(Q)rm -f "$(DESTDIR)$(SBINDIR)"/haproxy $(Q)rm -f "$(DESTDIR)$(SBINDIR)"/haproxy
clean: clean:
rm -f *.[oas] src/*.[oas] ebtree/*.[oas] haproxy test .build_opts .build_opts.new $(Q)rm -f *.[oas] src/*.[oas] ebtree/*.[oas] haproxy test .build_opts .build_opts.new
for dir in . src include/* doc ebtree; do rm -f $$dir/*~ $$dir/*.rej $$dir/core; done $(Q)for dir in . src include/* doc ebtree; do rm -f $$dir/*~ $$dir/*.rej $$dir/core; done
rm -f haproxy-$(VERSION).tar.gz haproxy-$(VERSION)$(SUBVERS).tar.gz $(Q)rm -f haproxy-$(VERSION).tar.gz haproxy-$(VERSION)$(SUBVERS).tar.gz
rm -f haproxy-$(VERSION) haproxy-$(VERSION)$(SUBVERS) nohup.out gmon.out $(Q)rm -f haproxy-$(VERSION) haproxy-$(VERSION)$(SUBVERS) nohup.out gmon.out
tags: tags:
find src include \( -name '*.c' -o -name '*.h' \) -print0 | \ $(Q)find src include \( -name '*.c' -o -name '*.h' \) -print0 | \
xargs -0 etags --declarations --members xargs -0 etags --declarations --members
cscope: cscope:
find src include -name "*.[ch]" -print | cscope -q -b -i - $(Q)find src include -name "*.[ch]" -print | cscope -q -b -i -
tar: clean tar: clean
$(Q)ln -s . haproxy-$(VERSION)$(SUBVERS) $(Q)ln -s . haproxy-$(VERSION)$(SUBVERS)