File: Makefile.am

package info (click to toggle)
mono-addins 1.0+git20130406.adcd75b-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 4,048 kB
  • ctags: 7,075
  • sloc: cs: 42,027; sh: 616; makefile: 358; xml: 16; ansic: 7
file content (47 lines) | stat: -rw-r--r-- 2,324 bytes parent folder | download | duplicates (3)
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
45
46
47

SUBDIRS =  Mono.Addins Mono.Addins.CecilReflector Mono.Addins.Setup Mono.Addins.MSBuild Mono.Addins.Gui mautil Test docs

EXTRA_DIST = COPYING mono-addins.snk Mono.Addins.sln

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
	cp mono-addins.snk $(SRC_PACKAGE_DIR)/mono-addins.snk
	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.xml $(BIN_PACKAGE_DIR)
	cp bin/Mono.Addins.Setup.dll $(BIN_PACKAGE_DIR)
	cp bin/Mono.Addins.Setup.xml $(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 *