File: makefile

package info (click to toggle)
ire-rotj 1.02-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 45,780 kB
  • ctags: 3
  • sloc: sh: 102; makefile: 53
file content (44 lines) | stat: -rw-r--r-- 833 bytes parent folder | download
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
###########################
#                         #
#  Makefile for ROTJ      #
#                         #
###########################

##
##  Configurables:
##

# Where to put binary on 'make install'?
INSTALL_BIN = $(DESTDIR)/usr/games
     
# Where to put data on 'make install'?
INSTALL_DATA = $(DESTDIR)/usr/share/games/ire/data

all:

	find rotj -type f -mindepth 1 -exec chmod '-x' '{}' ';'
	uudecode rotj/people/church/pics/priest4n.enc
	mv priest4n.pcx rotj/people/church/pics/priest4.pcx
	uudecode rotj/people/church/pics/crucifix.enc
	mv crucifix.jpg rotj/people/church/pics/crucifix.jpg	

install:
		install -d $(INSTALL_BIN) $(INSTALL_DATA) 
		install ./ire-rotj $(INSTALL_BIN)
		cp -r rotj $(INSTALL_DATA)

clean:
	rm -f rotj/people/church/pics/priest4.pcx 
	rm -f rotj/people/church/pics/crucifix.jpg