File: Makefile

package info (click to toggle)
ploticus 2.33-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,608 kB
  • ctags: 2,838
  • sloc: ansic: 48,139; perl: 913; sh: 393; makefile: 138
file content (24 lines) | stat: -rw-r--r-- 869 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
all:  src/pl

DESTDIR=
BIN    =$(DESTDIR)/usr/bin

src/pl:
	cd src; make

clean:
	rm -f ./src/*.o ./src/plgd18
	rm -Rf debian/ploticus
	rm -f configure-stamp build-stamp
	rm -f pltestsuite/out

install:  src/pl
	install -m 755 src/plgd18 $(BIN)/ploticus
	install -m 644 man/man1/pl.1 $(DESTDIR)/usr/share/man/man1/ploticus.1
	install -m 644 prefabs/* $(DESTDIR)/usr/share/ploticus/
	install -d -m 755 pltestsuite $(DESTDIR)/usr/share/doc/ploticus/examples
	install -m 644 pltestsuite/*  $(DESTDIR)/usr/share/doc/ploticus/examples
	install -m 755 pltestsuite/run* $(DESTDIR)/usr/share/doc/ploticus/examples
	install -m 644 pltestsuite/run_script_test.bat $(DESTDIR)/usr/share/doc/ploticus/examples
	install -m 644 pltestsuite/run_prefabs_test.bat $(DESTDIR)/usr/share/doc/ploticus/examples
	install -m 755 pltestsuite/testpf_* $(DESTDIR)/usr/share/doc/ploticus/examples