incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject git commit: Added 'How to Use PhoneGap as a Component' doc to the .dmg (as a PDF)
Date Fri, 20 Jan 2012 21:04:08 GMT
Updated Branches:
  refs/heads/master 1f1c724dc -> 52062bf9e


Added 'How to Use PhoneGap as a Component' doc to the .dmg  (as a PDF)


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/52062bf9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/52062bf9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/52062bf9

Branch: refs/heads/master
Commit: 52062bf9e7ec7a8cbc290e02ce86470d24d93a28
Parents: 1f1c724
Author: Shazron Abdullah <shazron@apache.org>
Authored: Fri Jan 20 13:03:53 2012 -0800
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Fri Jan 20 13:03:53 2012 -0800

----------------------------------------------------------------------
 How to Use PhoneGap as a Component.md |    1 +
 Makefile                              |    8 +++++++-
 2 files changed, 8 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/52062bf9/How to Use PhoneGap
as a Component.md
----------------------------------------------------------------------
diff --git a/How to Use PhoneGap as a Component.md b/How to Use PhoneGap as a Component.md
index d8f586d..5153b2c 100644
--- a/How to Use PhoneGap as a Component.md	
+++ b/How to Use PhoneGap as a Component.md	
@@ -120,6 +120,7 @@ It is recommended that you follow the PhoneGap.framework instructions
below, the
         */
         viewController.wwwFolderName = @"myfolder";
         viewController.startPage = @"mypage.html"
+<br />
 
 ## PhoneGap.plist ##
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/52062bf9/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index 9bc80a8..f7ac06e 100644
--- a/Makefile
+++ b/Makefile
@@ -89,6 +89,7 @@ clean-phonegap-framework:
 
 clean-markdown:
 	@$(RM_RF) PhoneGapInstaller/docs/readme.html
+	@$(RM_RF) PhoneGapInstaller/docs/cleaver.html
 
 clean-installer:
 	@$(RM_F) PhoneGapInstaller/docs/*.rtf
@@ -129,7 +130,7 @@ clean: clean-installer clean-phonegap-lib clean-xcode3-template clean-xcode4-tem
 
 checkos:
 	@if [ "$$OSTYPE" != "darwin11" ]; then echo "Error: You need to package the installer on
a Mac OS X 10.7 Lion system."; exit 1; fi
-	
+
 installer: clean markdown phonegap-lib xcode3-template xcode4-template phonegap-framework
 	@# remove the dist folder
 	@if [ -d "dist" ]; then \
@@ -160,6 +161,7 @@ installer: clean markdown phonegap-lib xcode3-template xcode4-template
phonegap-
 	@# convert the html docs to rtf, concatenate
 	@textutil -convert rtf  PhoneGapInstaller/docs/releasenotes.html -output dist/files/ReleaseNotes.rtf
 	@textutil -convert rtf -font 'Courier New' LICENSE -output PhoneGapInstaller/docs/LICENSE.rtf
+	@$(CONVERTPDF) -f PhoneGapInstaller/docs/cleaver.html -o 'dist/files/How to Use PhoneGap
as a Component.pdf'
 	@textutil -cat rtf PhoneGapInstaller/docs/finishup.rtf PhoneGapInstaller/docs/readme.rtf
PhoneGapInstaller/docs/LICENSE.rtf -output dist/files/Readme.rtf
 	@# restore backed-up markdown files
 	@$(MV) -f PhoneGapInstaller/docs/releasenotes.md.bak PhoneGapInstaller/docs/releasenotes.md

@@ -205,3 +207,7 @@ markdown:
 	@echo '<html><body style="font-family: Helvetica Neue;">' >	 PhoneGapInstaller/docs/readme.html
 	@perl Markdown_1.0.1/Markdown.pl README.md >> PhoneGapInstaller/docs/readme.html
 	@echo '</body></html>'  >> PhoneGapInstaller/docs/readme.html
+	@# generate 'How to Use PhoneGap as a Component' html from markdown
+	@echo '<html><body style="font-family: Helvetica Neue;">' >	 PhoneGapInstaller/docs/cleaver.html
+	@perl Markdown_1.0.1/Markdown.pl 'How to Use PhoneGap as a Component.md' >> PhoneGapInstaller/docs/cleaver.html
+	@echo '</body></html>'  >> PhoneGapInstaller/docs/cleaver.html


Mime
View raw message