diff --git a/Makefile b/Makefile index f7e698403..15967e850 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ $(MODULES): *.js $(BROWSERIFY) $(FLAGS) $(MODULE_DIR)/$@/$@.js -s $@ -o $(OUTPUT_DIR)/$@.bundle.js clean: - @rm $(OUTPUT_DIR)/*.bundle.js + @rm -f $(OUTPUT_DIR)/*.bundle.js deploy: @mkdir -p $(DEPLOY_DIR) && cp $(OUTPUT_DIR)/*.bundle.js $(DEPLOY_DIR) diff --git a/debian/rules b/debian/rules index 2ffa63a21..0cf3556e5 100755 --- a/debian/rules +++ b/debian/rules @@ -12,6 +12,9 @@ %: dh $@ +# we skip making Makefile exists for updating browserify modules when developing +override_dh_auto_build: + override_dh_install: dh_installdirs dh_install -X/config.js