File: Makefile.am

package info (click to toggle)
pipewalker 0.9.4-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,620 kB
  • sloc: cpp: 3,159; sh: 1,032; makefile: 103
file content (29 lines) | stat: -rw-r--r-- 1,364 bytes parent folder | download | duplicates (4)
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
SUBDIRS = src data extra

pkgdocdatadir = $(datadir)/doc/$(PACKAGE)
pkgdocdata_DATA = README

EXTRA_DIST = $(pkgdocdata_DATA) \
	PipeWalker.sln PipeWalker.vcxproj \
	PipeWalker.nsi

if WIN32
BUILT_SOURCES = win32_make_dist.cmd
endif

win32_make_dist.cmd:
	@echo "set ZIPTOOL=\"C:\Program Files\7-Zip\7z.exe\" a -tzip -r" > win32_make_dist.cmd
	@echo "set NSITOOL=\"C:\soft_dev\nsis\makensis.exe\"" >> win32_make_dist.cmd
	@echo "if exist PipeWalker rmdir /S /Q PipeWalker" >> win32_make_dist.cmd
	@echo "mkdir PipeWalker" >> win32_make_dist.cmd
	@echo "echo # This is the user settings file of the PipeWalker game > PipeWalker\.pipewalker" >> win32_make_dist.cmd
	@echo "copy ChangeLog PipeWalker\ChangeLog" >> win32_make_dist.cmd
	@echo "copy README PipeWalker\ReadMe.txt" >> win32_make_dist.cmd
	@echo "copy src\pipewalker.exe PipeWalker\PipeWalker.exe" >> win32_make_dist.cmd
	@echo "copy SDL.dll PipeWalker\SDL.dll" >> win32_make_dist.cmd
	@echo "mkdir PipeWalker\data" >> win32_make_dist.cmd
	@echo "copy data\*.wav PipeWalker\data" >> win32_make_dist.cmd
	@echo "copy data\*.png PipeWalker\data" >> win32_make_dist.cmd
	@echo "call %ZIPTOOL% pipewalker-$(VERSION)-win32-portable.zip PipeWalker\*" >> win32_make_dist.cmd
	@echo "rmdir /S /Q PipeWalker" >> win32_make_dist.cmd
	@echo "call %NSITOOL% /DVERSION=$(VERSION) PipeWalker.nsi" >> win32_make_dist.cmd