Przeglądaj źródła

Fixes building deb packages.

j8
Damian Minkov 10 lat temu
rodzic
commit
cd266f60d7
2 zmienionych plików z 4 dodań i 1 usunięć
  1. 1
    1
      Makefile
  2. 3
    0
      debian/rules

+ 1
- 1
Makefile Wyświetl plik

@@ -16,7 +16,7 @@ $(MODULES): *.js
16 16
 	$(BROWSERIFY) $(FLAGS) $(MODULE_DIR)/$@/$@.js -s $@ -o $(OUTPUT_DIR)/$@.bundle.js
17 17
 
18 18
 clean:
19
-	@rm $(OUTPUT_DIR)/*.bundle.js
19
+	@rm -f $(OUTPUT_DIR)/*.bundle.js
20 20
 
21 21
 deploy:
22 22
 	@mkdir -p $(DEPLOY_DIR) && cp $(OUTPUT_DIR)/*.bundle.js $(DEPLOY_DIR)

+ 3
- 0
debian/rules Wyświetl plik

@@ -12,6 +12,9 @@
12 12
 %:
13 13
 	dh $@
14 14
 
15
+# we skip making Makefile exists for updating browserify modules when developing
16
+override_dh_auto_build:
17
+
15 18
 override_dh_install:
16 19
 	dh_installdirs
17 20
 	dh_install -X/config.js

Ładowanie…
Anuluj
Zapisz