forked from mono/mono-addins
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.am
44 lines (39 loc) · 2.11 KB
/
Makefile.am
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
SUBDIRS = Mono.Addins Mono.Addins.CecilReflector Mono.Addins.Setup Mono.Addins.MSBuild Mono.Addins.Gui mautil Test docs
EXTRA_DIST = COPYING mono-addins.snk
SRC_PACKAGE_DIR=Mono.Addins-source-@VERSION@
BIN_PACKAGE_DIR=Mono.Addins-binary-@VERSION@
src-zip:
rm -rf $(SRC_PACKAGE_DIR)
rm -f $(SRC_PACKAGE_DIR).zip
mkdir $(SRC_PACKAGE_DIR)
mdtool project-export Mono.Addins.sln -f:"MSBuild (Visual Studio 2008)" -d:$(SRC_PACKAGE_DIR) -p:mautil -p:Mono.Addins -p:Mono.Addins.CecilReflector -p:Mono.Addins.Setup
mdtool project-export Samples/HelloWorld/HelloWorld.sln -f:"MSBuild (Visual Studio 2008)" -d:$(SRC_PACKAGE_DIR)/Samples/HelloWorld
mdtool project-export Samples/HelloWorldWithManifest/HelloWorldWithManifest.sln -f:"MSBuild (Visual Studio 2008)" -d:$(SRC_PACKAGE_DIR)/Samples/HelloWorldWithManifest
mdtool project-export Samples/TextEditorSWF/TextEditorSWF.sln -f:"MSBuild (Visual Studio 2008)" -d:$(SRC_PACKAGE_DIR)/Samples/TextEditorSWF
cp support/README-src $(SRC_PACKAGE_DIR)/README.txt
cp AUTHORS $(SRC_PACKAGE_DIR)/AUTHORS.txt
cp COPYING $(SRC_PACKAGE_DIR)/COPYING.txt
unix2dos $(SRC_PACKAGE_DIR)/README.txt
unix2dos $(SRC_PACKAGE_DIR)/AUTHORS.txt
unix2dos $(SRC_PACKAGE_DIR)/COPYING.txt
rm -rf $(SRC_PACKAGE_DIR)/Test
rm -f $(SRC_PACKAGE_DIR)/configure.ac
cd $(SRC_PACKAGE_DIR) && for fi in `find . -name Makefile.am`; do rm $$fi; done
cd $(SRC_PACKAGE_DIR) && zip -r ../$(SRC_PACKAGE_DIR).zip *
bin-zip:
rm -rf $(BIN_PACKAGE_DIR)
rm -f $(BIN_PACKAGE_DIR).zip
mkdir $(BIN_PACKAGE_DIR)
cp support/README-bin $(BIN_PACKAGE_DIR)/README.txt
cp AUTHORS $(BIN_PACKAGE_DIR)/AUTHORS.txt
cp COPYING $(BIN_PACKAGE_DIR)/COPYING.txt
unix2dos $(BIN_PACKAGE_DIR)/README.txt
unix2dos $(BIN_PACKAGE_DIR)/AUTHORS.txt
unix2dos $(BIN_PACKAGE_DIR)/COPYING.txt
cp bin/mautil.exe $(BIN_PACKAGE_DIR)
cp bin/Mono.Addins.dll $(BIN_PACKAGE_DIR)
cp bin/Mono.Addins.Setup.dll $(BIN_PACKAGE_DIR)
cp bin/Mono.Addins.CecilReflector.dll $(BIN_PACKAGE_DIR)
cp support/ICSharpCode.SharpZipLib.license.txt $(BIN_PACKAGE_DIR)
cp support/ICSharpCode.SharpZipLib.dll $(BIN_PACKAGE_DIR)
cd $(BIN_PACKAGE_DIR) && zip -r ../$(BIN_PACKAGE_DIR).zip *