]> git.parisson.com Git - pdf.js.git/commitdiff
Fix extension
authorArtur Adib <arturadib@gmail.com>
Tue, 25 Oct 2011 17:21:35 +0000 (10:21 -0700)
committerArtur Adib <arturadib@gmail.com>
Tue, 25 Oct 2011 17:21:35 +0000 (10:21 -0700)
Makefile

index a82d0eef46b53959166d6625509bec5e90246bfa..5fc9689cba43209aa5818e5e741d14d439184d9b 100644 (file)
--- 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