cp -a is GNU only ...
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@597 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
306dfaa69d
commit
005a864c98
10
Makefile
10
Makefile
|
@ -8,7 +8,7 @@ all: release firefox opera
|
||||||
|
|
||||||
build/$(PACKAGE):
|
build/$(PACKAGE):
|
||||||
mkdir -p build/$(PACKAGE)
|
mkdir -p build/$(PACKAGE)
|
||||||
cp -ra editor/* build/$(PACKAGE)
|
cp -r editor/* build/$(PACKAGE)
|
||||||
-find build/$(PACKAGE) -name .svn -type d -exec rm -rf {} \;
|
-find build/$(PACKAGE) -name .svn -type d -exec rm -rf {} \;
|
||||||
# minify spin button
|
# minify spin button
|
||||||
java -jar $(YUI) build/$(PACKAGE)/spinbtn/JQuerySpinBtn.js > build/$(PACKAGE)/spinbtn/JQuerySpinBtn.min.js
|
java -jar $(YUI) build/$(PACKAGE)/spinbtn/JQuerySpinBtn.js > build/$(PACKAGE)/spinbtn/JQuerySpinBtn.min.js
|
||||||
|
@ -24,15 +24,15 @@ release: build/$(PACKAGE)
|
||||||
|
|
||||||
firefox: build/$(PACKAGE)
|
firefox: build/$(PACKAGE)
|
||||||
mkdir -p build/firefox/content/editor
|
mkdir -p build/firefox/content/editor
|
||||||
cp -a firefox-extension/* build/firefox
|
cp -r firefox-extension/* build/firefox
|
||||||
rm -rf build/firefox/content/.svn
|
rm -rf build/firefox/content/.svn
|
||||||
cp -ra build/$(PACKAGE)/* build/firefox/content/editor
|
cp -r build/$(PACKAGE)/* build/firefox/content/editor
|
||||||
cd build/firefox ; $(ZIP) ../$(PACKAGE).xpi -r * ; cd ../..
|
cd build/firefox ; $(ZIP) ../$(PACKAGE).xpi -r * ; cd ../..
|
||||||
|
|
||||||
opera: build/$(PACKAGE)
|
opera: build/$(PACKAGE)
|
||||||
mkdir -p build/opera/editor
|
mkdir -p build/opera/editor
|
||||||
cp -a opera-widget/* build/opera
|
cp opera-widget/* build/opera
|
||||||
cp -ra build/$(PACKAGE)/* build/opera/editor
|
cp -r build/$(PACKAGE)/* build/opera/editor
|
||||||
cd build/opera ; $(ZIP) ../$(PACKAGE).wgt -r * ; cd ../..
|
cd build/opera ; $(ZIP) ../$(PACKAGE).wgt -r * ; cd ../..
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in New Issue