File: Makefile

package info (click to toggle)
tachyon 0.99~b6%2Bdsx-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,848 kB
  • sloc: ansic: 16,987; makefile: 737; sh: 275
file content (28 lines) | stat: -rw-r--r-- 574 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
TOPSRCDIR?=../../..
PKGDOCDIR?=/usr/share/doc/tachyon
PKGEXAMPLESDIR?=$(PKGDOCDIR)/examples

listof_DATA_Z = \
	$(wildcard objects/tpoly/*.tpoly.Z)

listof_DATA = \
	$(patsubst %.Z,%, $(listof_DATA_Z))

default:

clean:

distclean: clean
	rm -f $(listof_DATA)

check:

install: $(listof_DATA)
	mkdir -p $(DESTDIR)$(PKGDOCDIR)
	mkdir -p $(DESTDIR)$(PKGEXAMPLESDIR)
	mkdir -p $(DESTDIR)$(PKGEXAMPLESDIR)/scenes
	mkdir -p $(DESTDIR)$(PKGEXAMPLESDIR)/scenes/tpoly
	cp -p -t $(DESTDIR)$(PKGEXAMPLESDIR)/scenes/tpoly $(listof_DATA)

% : %.Z
	gzip --decompress --to-stdout $< > $@