Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

58 lines (51 sloc) 1.855 kb
SHELL = /bin/bash
CHMOD = chmod
CP = cp
MV = mv
NOOP = $(SHELL) -c true
RM_F = rm -f
RM_IR = rm -iR
RM_RF = rm -rf
TEST_F = test -f
TOUCH = touch
UMASK_NULL = umask 0
DEV_NULL = > /dev/null 2>&1
MKPATH = mkdir -p
CAT = cat
MAKE = make
OPEN = open
ECHO = echo
ECHO_N = echo -n
JAVA = java
DOXYGEN =
IPHONE_DOCSET_TMPDIR = docs/iphone/tmp
PACKAGEMAKER = /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
all :: installer
PhoneGapLib/javascripts/phonegap-min.js: phonegap-js-core
$(JAVA) -jar util/yuicompressor-2.4.2.jar --charset UTF-8 -o $@ PhoneGapLib/javascripts/phonegap.js
phonegap-js-core:
$(MAKE) -C PhoneGapLib
clean:
$(RM_RF) PhoneGapLib/build/
$(RM_F) PhoneGapLib/PhoneGapLib.xcodeproj/*.mode1v3
$(RM_F) PhoneGapLib/PhoneGapLib.xcodeproj/*.perspectivev3
$(RM_F) PhoneGapLib/PhoneGapLib.xcodeproj/*.pbxuser
$(RM_F) PhoneGapLib/javascripts/phonegap.js
$(RM_RF) PhoneGap-based\ Application/build/
$(RM_F) PhoneGap-based\ Application/___PROJECTNAME___.xcodeproj/*.mode1v3
$(RM_F) PhoneGap-based\ Application/___PROJECTNAME___.xcodeproj/*.perspectivev3
$(RM_F) PhoneGap-based\ Application/___PROJECTNAME___.xcodeproj/*.pbxuser
$(RM_F) PhoneGap-based\ Application/___PROJECTNAME___-iPad.xcodeproj/*.mode1v3
$(RM_F) PhoneGap-based\ Application/___PROJECTNAME___-iPad.xcodeproj/*.perspectivev3
$(RM_F) PhoneGap-based\ Application/___PROJECTNAME___-iPad.xcodeproj/*.pbxuser
$(RM_F) PhoneGap-based\ Application/www/phonegap.js
installer: clean
$(PACKAGEMAKER) -d PhoneGapLibInstaller/PhoneGapLibInstaller.pmdoc -o PhoneGapLibInstaller.pkg
uninstall:
$(RM_RF) ~/Library/Application Support/Developer/Shared/Xcode/Project Templates/PhoneGap
@read -p "Delete all files in ~/Documents/PhoneGapLib/?: " ; \
if [ "$$REPLY" == "y" ]; then \
$(RM_RF) ~/Documents/PhoneGapLib/ ; \
else \
echo "" ; \
fi
Jump to Line
Something went wrong with that request. Please try again.