summaryrefslogtreecommitdiff
path: root/makefile
blob: 844b8069f55347a41c2bb0d5e50760cb20842048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
build/apt-why.1: bin/apt-why
	mkdir -p build
	pod2man $< > $@

install:
	install -m 755 bin/apt-why /usr/local/bin
	install -m 644 -D build/apt-why.1 /usr/local/share/man/man1/apt-why.1

install-completion:
	install -m 644 provides/zsh/completions/_apt-why \
	/usr/share/zsh/functions/Completion/Debian

clean:
	$(RM) -r build

uninstall:
	$(RM) /usr/local/bin/apt-why
	$(RM) /usr/local/share/man/man1/apt-why.1

uninstall-completion:
	$(RM) /usr/share/zsh/functions/Completion/Debian/_apt-why