replaced scripts with makefile (call make all to build)

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@432 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Pavol Rusnak 2009-08-21 14:03:39 +00:00
parent 623fa4287f
commit 2eea448e9a
4 changed files with 13 additions and 13 deletions

View File

@ -0,0 +1,12 @@
ZIP = zip
PACKAGE = svgedit-2.3
FILEMASK = \*.html \*.css \*.js \*.txt \*.png \*.jpg \*.gif \*.svg \*.xml \*.manifest \*.rdf \*.xul
clean:
rm -f *.*~
rm -rf ./content/editor/
all: clean
rm -f $(PACKAGE).xpi
cp -r ../editor ./content/
$(ZIP) $(PACKAGE).xpi -r . -i $(FILEMASK)

View File

@ -1,8 +0,0 @@
#!/bin/sh
DST="content/editor"
if [ -e "${DST}" ]; then
rm -rf "${DST}"
fi
cp -R ../editor content/
SVNS=`find content/editor -name '.svn'`
rm -rf ${SVNS}

View File

@ -1,4 +0,0 @@
#!/bin/sh
./build.sh
zip -r ../svg-edit.xpi *

View File

@ -6,7 +6,7 @@ clean:
rm -f *.*~
rm -rf ./editor/
widget: clean
all: clean
rm -f $(PACKAGE).wgt
cp -r ../editor .
$(ZIP) $(PACKAGE).wgt -r . -i $(FILEMASK)