From: Artur Adib Date: Tue, 25 Oct 2011 17:21:35 +0000 (-0700) Subject: Fix extension X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=c43548cdba21af7338c910e9874f99f71792b932;p=pdf.js.git Fix extension --- diff --git a/Makefile b/Makefile index a82d0ee..5fc9689 100644 --- a/Makefile +++ b/Makefile @@ -196,8 +196,9 @@ PDF_WEB_FILES = \ extension: | pdfjs # Copy a standalone version of pdf.js inside the content directory @rm -Rf $(EXTENSION_SRC)/$(CONTENT_DIR)/ + @mkdir -p $(EXTENSION_SRC)/$(CONTENT_DIR)/$(BUILD_DIR) @mkdir -p $(EXTENSION_SRC)/$(CONTENT_DIR)/web - @cp $(PDFJS_TARGET) $(EXTENSION_SRC)/$(CONTENT_DIR)/ + @cp $(PDFJS_TARGET) $(EXTENSION_SRC)/$(CONTENT_DIR)/$(BUILD_DIR) @cp -r $(PDF_WEB_FILES) $(EXTENSION_SRC)/$(CONTENT_DIR)/web/ # Create the xpi