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
This commit is contained in:
12
firefox-extension/Makefile
Normal file
12
firefox-extension/Makefile
Normal 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)
|
||||
@@ -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 *
|
||||
Reference in New Issue
Block a user