summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2023-10-24 11:51:58 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2023-10-24 13:22:44 +0200
commitf53159bb88e95f14379e6b76f824b696cf39647c (patch)
treeb4cf997c230fe01660cffe0c2233384fb7e1c5b2 /Makefile
parent2f9d18516d4e1f94dd8234f050dd4c2dd948e9af (diff)
Adjust Makefile, Changelog and more
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7029160a6..e4f10f421 100644
--- a/Makefile
+++ b/Makefile
@@ -92,10 +92,10 @@ else
@exit 1
endif
-# Removes the appstore build
+# Removes the appstore build and compiled js files
.PHONY: clean
clean:
- rm -rf ./build
+ rm -rf ./build ./js/*
# Reports PHP codestyle violations
.PHONY: phpcs
@@ -171,9 +171,8 @@ appstore:
find $(appstore_sign_dir) -name .htaccess -exec rm {} \;
# on macOS there is no option "--parents" for the "cp" command
- mkdir -p $(appstore_sign_dir)/$(app_name)/js/build $(appstore_sign_dir)/$(app_name)/js/admin
- cp js/build/app.min.js $(appstore_sign_dir)/$(app_name)/js/build
- cp js/nextcloud-news-admin-settings.js* $(appstore_sign_dir)/$(app_name)/js/build
+ mkdir -p $(appstore_sign_dir)/$(app_name)/js
+ cp js/* $(appstore_sign_dir)/$(app_name)/js/
# export the key and cert to a file
@if [ ! -f $(cert_dir)/$(app_name).key ] || [ ! -f $(cert_dir)/$(app_name).crt ]; then \