File: Makefile

package info (click to toggle)
fortune-zh 1.9
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 344 kB
  • sloc: makefile: 59; sh: 17
file content (22 lines) | stat: -rw-r--r-- 684 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESTDIR=
DATA=tang300.dat song100.dat
all: $(DATA)
tang300.dat:tang300
	strfile $< tang300.dat
song100.dat:song100
	strfile $< song100.dat
distclean:
	rm -f *dat
clean:
	rm -f *dat

install: all
	mkdir -p $(DESTDIR)/usr/share/games/fortunes
	mkdir -p $(DESTDIR)/usr/games
	install -m0644  tang300 $(DESTDIR)/usr/share/games/fortunes
	cp -d  tang300.u8 $(DESTDIR)/usr/share/games/fortunes
	install -m0644  tang300.dat $(DESTDIR)/usr/share/games/fortunes
	install -m0644  song100 $(DESTDIR)/usr/share/games/fortunes
	cp -d  song100.u8 $(DESTDIR)/usr/share/games/fortunes
	install -m0644  song100.dat $(DESTDIR)/usr/share/games/fortunes
	install -m0755  fortune-zh $(DESTDIR)/usr/games/