File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
#
2
2
# Standard Makefile supports targets build, install and clean + static
3
- # code checking. make install respects DESTDIR.
3
+ # code checking. make install respects DESTDIR, build and install respects
4
+ # V=0 and V=1
4
5
5
6
6
7
ifeq ($(DESTDIR ) ,)
7
8
DESTDIR = $(CURDIR ) /install
8
9
endif
9
10
11
+ VERBOSE = $(or $(V ) ,0)
12
+ ifeq ($(VERBOSE ) , 0)
13
+ QUIET_OPT = --quiet
14
+ endif
15
+
10
16
PYTHON_SRC = plugins lib/ddupdate setup.py ddupdate ddupdate-config
11
17
12
18
# vim-compatible error reporting:
@@ -16,10 +22,10 @@ pylint_template = {path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
16
22
all : build
17
23
18
24
build :
19
- python3 setup.py --quiet build
25
+ python3 setup.py $( QUIET_OPT ) build
20
26
21
27
install : .phony
22
- python3 setup.py --quiet install --root=$(DESTDIR )
28
+ python3 setup.py $( QUIET_OPT ) install --root=$(DESTDIR )
23
29
24
30
clean : .phony
25
31
python3 setup.py clean
You can’t perform that action at this time.
0 commit comments