diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | sounds/Makefile | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -74,6 +74,7 @@ export TERMCAP_DIR export TINFO_DIR export GTK2_LIB export GTK2_INCLUDE +export WGET_EXTRA_ARGS # even though we could use '-include makeopts' here, use a wildcard # lookup anyway, so that make won't try to build makeopts if it doesn't diff --git a/sounds/Makefile b/sounds/Makefile index 6052c8adf..63ca8fe5a 100644 --- a/sounds/Makefile +++ b/sounds/Makefile @@ -53,8 +53,8 @@ MM:=$(subst -G722,-g722,$(MM)) MOH:=$(MM:MOH-%=asterisk-moh-%.tar.gz) MOH_TAGS:=$(MM:MOH-%=$(MOH_DIR)/.asterisk-moh-%) # If "fetch" is used, --continue is not a valid option. -ifeq ($(WGET),wget) -WGET_ARGS:=--continue +ifneq ($(findstring wget,$(WGET)),) +WGET_ARGS:=--continue $(WGET_EXTRA_ARGS) endif all: $(CORE_SOUNDS) $(EXTRA_SOUNDS) $(MOH) |