Oops; let's leave off `-v' from the tar command line, or my nightly
[sgt/utils] / base64 / Makefile
CommitLineData
8a48d402 1DESTDIR = .
2
9acadc2b 3all: base64.1 base64
4
5base64: base64.c
6 $(CC) $(CFLAGS) -o $@ $<
7
8%.1: %.but
9 halibut --man=$@ $<
10
11clean:
8a48d402 12 rm -f *.1 base64 *.html *.tar.gz
13
14html:
15 halibut --html=$(DESTDIR)/base64.html base64.but
16
17release: base64.1
18 mkdir -p reltmp/base64
19 ln -s ../../base64.c reltmp/base64
20 ln -s ../../base64.1 reltmp/base64
21 ln -s ../../base64.but reltmp/base64
22 ln -s ../../Makefile reltmp/base64
ef397e72 23 tar -C reltmp -chzf $(DESTDIR)/base64.tar.gz base64
8a48d402 24 rm -rf reltmp