build(striker-ui): change makefile to include server page

main
Tsu-ba-me 3 years ago
parent f7ccfbf600
commit 6d18e80b98
  1. 13
      striker-ui/Makefile.am

@ -7,7 +7,8 @@ nextbuilddir = .next
# List of paths relative to the build output directory. # List of paths relative to the build output directory.
# #
outindexfile = index.html outindexpage = index.html
outserverpage = server.html
outjsmodulesdir = _next outjsmodulesdir = _next
outimagesdir = pngs outimagesdir = pngs
@ -88,13 +89,19 @@ build: $(nodemodulesdir)
install-data-hook: install-data-hook:
-@echo "Place build output files." -@echo "Place build output files."
cp -r --no-preserve=mode $(srcdir)/$(nextoutdir)/$(outindexfile) $(srcdir)/$(nextoutdir)/$(outjsmodulesdir) $(DESTDIR)/$(htmldir)/ (cd $(srcdir)/$(nextoutdir); \
cp -r --no-preserve=mode \
$(outindexpage) $(outserverpage) $(outjsmodulesdir) \
$(DESTDIR)/$(htmldir)/ \
)
-@echo "Create symlink to images to enable borrowing icon etc. without duplicating." -@echo "Create symlink to images to enable borrowing icon etc. without duplicating."
(cd $(DESTDIR)/$(htmldir); $(LN_S) skins/alteeve/images $(outimagesdir)) (cd $(DESTDIR)/$(htmldir); $(LN_S) skins/alteeve/images $(outimagesdir))
uninstall-hook: 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 $(outindexpage) $(outserverpage) $(outjsmodulesdir) $(outimagesdir) \
)
clean-local: clean-local:
-@echo "Clean up node modules." -@echo "Clean up node modules."

Loading…
Cancel
Save