mirror of
https://github.com/znc/znc.git
synced 2026-07-07 02:11:20 +02:00
Make make's output more readable
The real command line is now hidden and instead a short message which explains what is done is displayed. To get back the old behavior, use "make VERBOSE=1". Thanks to DarthGandalf for this. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2094 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+10
-1
@@ -33,6 +33,14 @@ INSTALL_DATA := @INSTALL_DATA@
|
||||
|
||||
TCL_FLAGS:= @TCL_FLAGS@
|
||||
|
||||
ifeq "$(VERBOSE)" ""
|
||||
Q=@
|
||||
E=@echo
|
||||
else
|
||||
Q=
|
||||
E=@\#
|
||||
endif
|
||||
|
||||
ifneq "$(LIBZNC)" ""
|
||||
LDFLAGS += -L.. -lznc -Wl,-rpath,$(LIBZNCDIR)
|
||||
endif
|
||||
@@ -111,7 +119,8 @@ clean:
|
||||
%.so: %.cpp Makefile
|
||||
@mkdir -p .depend
|
||||
@mkdir -p extra
|
||||
$(CXX) $(MODFLAGS) $(LDFLAGS) $(MODLINK) -o $@ $< $($(notdir $(basename $@))FLAGS) -MMD -MF .depend/$(notdir $@).dep
|
||||
$(E) Building $(if $(filter %extra/,$(dir $<)),extra )module $(notdir $(basename $@))...
|
||||
$(Q)$(CXX) $(MODFLAGS) $(LDFLAGS) $(MODLINK) -o $@ $< $($(notdir $(basename $@))FLAGS) -MMD -MF .depend/$(notdir $@).dep
|
||||
|
||||
modperl_install: create_install_dir
|
||||
for i in $(srcdir)/*.pm; do \
|
||||
|
||||
Reference in New Issue
Block a user