From 13e474635c7d65020e6ce136b456a31c75cc7540 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Fri, 8 May 2015 21:52:10 +0200 Subject: [PATCH] Make commands easier: no need for ./ --- Setup-PDF.js-in-a-website-(Linux).mediawiki | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Setup-PDF.js-in-a-website-(Linux).mediawiki b/Setup-PDF.js-in-a-website-(Linux).mediawiki index 187c8e4..f5eabe1 100644 --- a/Setup-PDF.js-in-a-website-(Linux).mediawiki +++ b/Setup-PDF.js-in-a-website-(Linux).mediawiki @@ -55,7 +55,7 @@ There is a package for yui-compressor on Ubuntu 12.10 or Linux Mint 14: sudo apt-get install yui-compressor cd - mkdir ./production/ + mkdir production # yui-compressor ./build/pdf.js -o ./production/pdf-min.js # BEWARE OF UNSUPPORTED BEHAVIOR ==== Use the minified file ==== @@ -75,9 +75,9 @@ Be sure to edit viewer.html and viewer.js to use the correct f Now that your build is done, you can copy the viewer and its resources (core files) to your production directory and upload the contents of that directory to your web server: # make a production directory if you haven't done so already - mkdir ./production/ + mkdir production # copy the viewer and its resources to the production folder - cp -R ./build/generic ./production + cp -R build/generic production === Compatibility ===