File: Makefile

package info (click to toggle)
randomplay 0.60%2Bpristine-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 200 kB
  • sloc: perl: 1,383; makefile: 26
file content (29 lines) | stat: -rw-r--r-- 686 bytes parent folder | download | duplicates (6)
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
PREFIX=/usr
INSTALL=/usr/bin/install
BINDIR=$(DESTDIR)$(PREFIX)/bin
MANDIR=$(DESTDIR)$(PREFIX)/share/man/man1
DOCDIR=$(DESTDIR)$(PREFIX)/share/doc/randomplay

none: 

man: randomplay 
	pod2man randomplay > randomplay.1

install: randomplay randomplay.1 changelog.gz README TODO randomplayrc
	$(INSTALL) -d $(BINDIR) $(MANDIR) $(DOCDIR)
	$(INSTALL) -m 755 randomplay $(BINDIR)
	$(INSTALL) -m 644 randomplay.1 $(MANDIR)
	$(INSTALL) -m 644 changelog.gz README TODO randomplayrc $(DOCDIR)

uninstall:
	rm $(BINDIR)/randomplay
	rm $(MANDIR)/randomplay.1
	rm -r $(DOCDIR)

all: man install

clean: randomplay.1
	rm randomplay.1

none: man
	@echo "Now run make install to install randomplay."