summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSatoe Imaishi <simaishi@redhat.com>2022-12-01 13:40:23 +0100
committerSatoe Imaishi <simaishi@redhat.com>2022-12-01 14:58:05 +0100
commit06daebbecf1bd88ee43a7fa5f441b156125dee9f (patch)
tree351acbc4edf76167f39855530fbe88d4dfc2652d /Makefile
parentadd docs about max_forks and max_concurrent_jobs (diff)
downloadawx-06daebbecf1bd88ee43a7fa5f441b156125dee9f.tar.xz
awx-06daebbecf1bd88ee43a7fa5f441b156125dee9f.zip
Copy UI static files to /var/lib/awx only for ui-devel build
Diffstat (limited to '')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 830317bb2f..89941f4849 100644
--- a/Makefile
+++ b/Makefile
@@ -389,18 +389,18 @@ $(UI_BUILD_FLAG_FILE):
$(PYTHON) tools/scripts/compilemessages.py
$(NPM_BIN) --prefix awx/ui --loglevel warn run compile-strings
$(NPM_BIN) --prefix awx/ui --loglevel warn run build
- mkdir -p /var/lib/awx/public/static/css
- mkdir -p /var/lib/awx/public/static/js
- mkdir -p /var/lib/awx/public/static/media
- cp -r awx/ui/build/static/css/* /var/lib/awx/public/static/css
- cp -r awx/ui/build/static/js/* /var/lib/awx/public/static/js
- cp -r awx/ui/build/static/media/* /var/lib/awx/public/static/media
touch $@
ui-release: $(UI_BUILD_FLAG_FILE)
ui-devel: awx/ui/node_modules
@$(MAKE) -B $(UI_BUILD_FLAG_FILE)
+ mkdir -p /var/lib/awx/public/static/css
+ mkdir -p /var/lib/awx/public/static/js
+ mkdir -p /var/lib/awx/public/static/media
+ cp -r awx/ui/build/static/css/* /var/lib/awx/public/static/css
+ cp -r awx/ui/build/static/js/* /var/lib/awx/public/static/js
+ cp -r awx/ui/build/static/media/* /var/lib/awx/public/static/media
ui-devel-instrumented: awx/ui/node_modules
$(NPM_BIN) --prefix awx/ui --loglevel warn run start-instrumented