-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathMakefile
30 lines (24 loc) · 1018 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
all:
mkdir -p xpi
cp node-linux-32/node [email protected]/components/
cd [email protected]; zip -r ../mexint-Linux-32.xpi *; cd ..;
mv mexint-Linux-32.xpi xpi/
rm -f [email protected]/components/node
cp node-linux-64/node [email protected]/components/
cd [email protected]; zip -r ../mexint-Linux-64.xpi *; cd ..;
mv mexint-Linux-64.xpi xpi/
rm -f [email protected]/components/node
cp node-osx-64/node [email protected]/components/
cd [email protected]; zip -r ../mexint-OSX-64.xpi *; cd ..;
mv mexint-OSX-64.xpi xpi/
rm -f [email protected]/components/node
cp node-win-32/node.exe [email protected]/components/
cd [email protected]; zip -r ../mexint-Windows-32.xpi *; cd ..;
mv mexint-Windows-32.xpi xpi/
rm -f [email protected]/components/node.exe
cp node-win-64/node.exe [email protected]/components/
cd [email protected]; zip -r ../mexint-Windows-64.xpi *; cd ..;
mv mexint-Windows-64.xpi xpi/
rm -f [email protected]/components/node.exe
clean:
rm -rf xpi