replaced scripts with makefile (call make all to build)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@432 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
623fa4287f
commit
2eea448e9a
|
@ -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)
|
|
@ -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}
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
./build.sh
|
||||
zip -r ../svg-edit.xpi *
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue