summaryrefslogtreecommitdiff
path: root/Makefile
blob: c293c6d3a42d571278802f9d59c620c87c854e61 (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 -f $(prefix)/bin/efa
	rm -f $(prefix)/share/man/man1/efa.1

clean:
	rm -rf build

.PHONY: install uninstall clean