]> git.r.bdr.sh - rbdr/junction/blobdiff - Makefile
Add packaging info
[rbdr/junction] / Makefile
index d4c4f4d2a7138c1f5d92e2bc6ec1c13483daf321..0aecb76067bbc6969aaac2da424c4eed4a5e9b40 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,5 +8,10 @@ start:
 docker-build:
        docker-compose build
 
 docker-build:
        docker-compose build
 
-package:
-       cd extension && zip -r ../junction.xpi manifest.json junction.js build/content_script.js icons/ sounds/
+package: package-for-firefox
+
+package-for-firefox: create-build-folder
+       cd extension && zip -r ../build/junction.xpi manifest.json junction.js build/content_script.js icons/ sounds/
+
+create-build-folder:
+       mkdir -p build