blob: 03564b6328580f3b87c6c623b2d07312a50fd5d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
include config.mk
all: build/tibtoa.1
build/tibtoa.1: bin/tibtoa
mkdir -p build
pod2man bin/tibtoa > $@
install: build/tibtoa.1
mkdir -p ${bin_dir} ${man_dir}/man1
cp bin/tibtoa ${bin_dir}/tibtoa
cp build/tibtoa.1 ${man_dir}/man1/tibtoa.1
chmod 755 ${bin_dir}/tibtoa
chmod 644 ${man_dir}/man1/tibtoa.1
uninstall:
rm -f ${bin_dir}/tibtoa
rm -f ${man_dir}/man1/tibtoa.1
clean:
rm -rf build
.PHONY: install uninstall clean
|