aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/linuxmoto/linuxmoto.mk
blob: 937fb4ef6943abd6b83f09d41f42b6a4be796a67 (plain)
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
48
# Special target to create a motoezx snapshot
motoezx: $(EXECUTABLE)
	$(MKDIR) release/scummvm
	$(STRIP) $(EXECUTABLE) -o release/scummvm/$(EXECUTABLE)
	$(INSTALL) -c -m 644 $(DIST_FILES_THEMES) $(DIST_FILES_ENGINEDATA) release/scummvm/
	$(INSTALL) -c -m 644 $(DIST_FILES_DOCS)  release/scummvm/
	$(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip release/scummvm/
	$(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_small.zip release/scummvm/
	$(CP) $(srcdir)/dists/motoezx/* release/scummvm/
	tar -C release -cvzf release/ScummVM-motoezx.pkg scummvm
	$(RM) -r release/scummvm

# Special target to create a motomagx snapshot
motomagx-mpkg: $(EXECUTABLE)
	$(MKDIR) release/scummvm
	$(STRIP) $(EXECUTABLE) -o release/scummvm/$(EXECUTABLE)
	$(INSTALL) -c -m 644 $(DIST_FILES_THEMES) $(DIST_FILES_ENGINEDATA) release/scummvm/
	$(INSTALL) -c -m 644 $(DIST_FILES_DOCS)  release/scummvm/
	$(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip release/scummvm/
	$(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_small.zip release/scummvm/
	$(CP) $(srcdir)/dists/motomagx/mpkg/* release/scummvm/
	tar -C release -cvzf release/ScummVM-motomagx.mpkg scummvm
	$(RM) -r release/scummvm

motomagx-mgx: $(EXECUTABLE)
	$(MKDIR) release/scummvm
	$(STRIP) $(EXECUTABLE) -o release/scummvm/$(EXECUTABLE)
	$(INSTALL) -c -m 644 $(DIST_FILES_THEMES) $(DIST_FILES_ENGINEDATA) release/scummvm/
	$(INSTALL) -c -m 644 $(DIST_FILES_DOCS)  release/scummvm/
	$(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip release/scummvm/
	$(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_small.zip release/scummvm/
	$(CP) $(srcdir)/dists/motomagx/mgx/* release/scummvm/
	tar -C release -cvf release/ScummVM-motomagx.mgx scummvm
	$(RM) -r release/scummvm

motomagx-pep: $(EXECUTABLE)
	$(MKDIR) release/pep
	$(CP) -r $(srcdir)/dists/motomagx/pep/* release/pep
	$(RM) -r release/pep/app/.svn
	$(STRIP) $(EXECUTABLE) -o release/pep/app/$(EXECUTABLE)
	$(INSTALL) -c -m 644 $(DIST_FILES_THEMES) $(DIST_FILES_ENGINEDATA) release/pep/app
	$(INSTALL) -c -m 644 $(DIST_FILES_DOCS)  release/pep/app
	$(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip release/pep/app
	$(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_small.zip release/pep/app
	tar -C release/pep -czvf release/ScummVM-motomagx.pep app description.ini  scummvm_big_usr.png  scummvm_small_usr.png
	$(RM) -r release/pep

.PHONY: motoezx motomagx-mpkg motomagx-mgx motomagx-pep