summaryrefslogtreecommitdiff
path: root/Makefile
blob: 18e45b6c932b9ec3fe5c25846660e8797456d133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
prefix ?= /usr/local

build/efa.1: bin/efa
	mkdir -p build
	pod2man $< > $@

install: build/efa.1
	install -m 755 -D bin/efa $(prefix)/bin/efa
	install -m 644 -D build/efa.1 $(prefix)/share/man/man1/efa.1

uninstall:
	$(RM) $(prefix)/bin/efa
	$(RM) $(prefix)/share/man/man1/efa.1

clean:
	$(RM) -r build

.PHONY: install uninstall clean