Fixing again
This commit is contained in:
parent
57ecc46b02
commit
e58c2ab995
24
Makefile
24
Makefile
@ -139,12 +139,11 @@ lint:
|
|||||||
# TODO: Use the Closure compiler to optimize the pdf.js files.
|
# TODO: Use the Closure compiler to optimize the pdf.js files.
|
||||||
#
|
#
|
||||||
GH_PAGES = $(BUILD_DIR)/gh-pages
|
GH_PAGES = $(BUILD_DIR)/gh-pages
|
||||||
web: | production extension compiler pages-repo \
|
web: | production extension compiler pages-repo
|
||||||
$(addprefix $(GH_PAGES)/, $(BUILD_TARGET)) \
|
@cp $(BUILD_TARGET) $(GH_PAGES)/$(BUILD_TARGET)
|
||||||
$(addprefix $(GH_PAGES)/, $(wildcard web/*.*)) \
|
@cp -R web/* $(GH_PAGES)/web
|
||||||
$(addprefix $(GH_PAGES)/, $(wildcard web/images/*.*)) \
|
@cp web/images/* $(GH_PAGES)/web/images
|
||||||
$(addprefix $(GH_PAGES)/, $(wildcard $(EXTENSION_SRC)/*.xpi))
|
@cp $(EXTENSION_SRC)/*.xpi $(GH_PAGES)/$(EXTENSION_SRC)
|
||||||
|
|
||||||
@cp $(GH_PAGES)/web/index.html.template $(GH_PAGES)/index.html;
|
@cp $(GH_PAGES)/web/index.html.template $(GH_PAGES)/index.html;
|
||||||
@mv -f $(GH_PAGES)/web/viewer-production.html $(GH_PAGES)/web/viewer.html;
|
@mv -f $(GH_PAGES)/web/viewer-production.html $(GH_PAGES)/web/viewer.html;
|
||||||
@cd $(GH_PAGES); git add -A;
|
@cd $(GH_PAGES); git add -A;
|
||||||
@ -169,19 +168,6 @@ pages-repo: | $(BUILD_DIR)
|
|||||||
@mkdir -p $(GH_PAGES)/build;
|
@mkdir -p $(GH_PAGES)/build;
|
||||||
@mkdir -p $(GH_PAGES)/$(EXTENSION_SRC);
|
@mkdir -p $(GH_PAGES)/$(EXTENSION_SRC);
|
||||||
|
|
||||||
$(GH_PAGES)/$(BUILD_DIR)/pdf.js:
|
|
||||||
@mkdir -p $(GH_PAGES)/$(BUILD_DIR)
|
|
||||||
@cp build/pdf.js $(GH_PAGES)/$(BUILD_DIR)
|
|
||||||
|
|
||||||
$(GH_PAGES)/web/%: web/%
|
|
||||||
@cp $< $@
|
|
||||||
|
|
||||||
$(GH_PAGES)/web/images/%: web/images/%
|
|
||||||
@cp $< $@
|
|
||||||
|
|
||||||
$(GH_PAGES)/$(EXTENSION_SRC)/%: $(EXTENSION_SRC)/%
|
|
||||||
@cp -R $< $@
|
|
||||||
|
|
||||||
# # make compiler
|
# # make compiler
|
||||||
# #
|
# #
|
||||||
# # This target downloads the Closure compiler, and places it in the
|
# # This target downloads the Closure compiler, and places it in the
|
||||||
|
Loading…
Reference in New Issue
Block a user