|
|
@ -32,7 +32,7 @@ $(nodemodulesdir): |
|
|
|
# call.
|
|
|
|
# call.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
.PHONY: build |
|
|
|
.PHONY: build |
|
|
|
build: clean $(nodemodulesdir) |
|
|
|
build: clean-build $(nodemodulesdir) |
|
|
|
-@echo "Build web UI."
|
|
|
|
-@echo "Build web UI."
|
|
|
|
npm run build
|
|
|
|
npm run build
|
|
|
|
-@echo "Stage only the build output directory."
|
|
|
|
-@echo "Stage only the build output directory."
|
|
|
@ -44,8 +44,8 @@ build: clean $(nodemodulesdir) |
|
|
|
#
|
|
|
|
#
|
|
|
|
# Note: this target is strictly used in case of rebuilding; use
|
|
|
|
# Note: this target is strictly used in case of rebuilding; use
|
|
|
|
# maintainer-clean instead to restore the repo to a clean state.
|
|
|
|
# maintainer-clean instead to restore the repo to a clean state.
|
|
|
|
.PHONY: clean |
|
|
|
.PHONY: clean-build |
|
|
|
clean: |
|
|
|
clean-build: |
|
|
|
-@echo "Clean up build output files to prepare for rebuild."
|
|
|
|
-@echo "Clean up build output files to prepare for rebuild."
|
|
|
|
rm -rf $(nextoutdir) $(nextbuilddir)
|
|
|
|
rm -rf $(nextoutdir) $(nextbuilddir)
|
|
|
|
|
|
|
|
|
|
|
@ -59,7 +59,7 @@ uninstall-hook: |
|
|
|
-@echo "Remove all installed files of the current module."
|
|
|
|
-@echo "Remove all installed files of the current module."
|
|
|
|
(cd $(DESTDIR)/$(htmldir); rm -rf $(outindexfile) $(outjsmodulesdir) $(outimagesdir))
|
|
|
|
(cd $(DESTDIR)/$(htmldir); rm -rf $(outindexfile) $(outjsmodulesdir) $(outimagesdir))
|
|
|
|
|
|
|
|
|
|
|
|
maintainer-clean-local: clean |
|
|
|
maintainer-clean-local: clean-build |
|
|
|
-@echo "Clean up node modules."
|
|
|
|
-@echo "Clean up node modules."
|
|
|
|
rm -rf $(nodemodulesdir)
|
|
|
|
rm -rf $(nodemodulesdir)
|
|
|
|
-@echo "Since the build output directory is removed, restore it to keep local repo clean."
|
|
|
|
-@echo "Since the build output directory is removed, restore it to keep local repo clean."
|
|
|
|