]> mj.ucw.cz Git - subauth.git/blob - client/Makefile
Client: Initial version of the man page
[subauth.git] / client / Makefile
1 DIRS+=client
2
3 PROGS+=$(o)/client/subauth $(o)/client/subauth.1
4
5 $(o)/client/subauth: $(o)/client/subauth.o
6
7 # This is a little bit hacky as a2x cannot produce output
8 # in a different directory.
9 $(o)/%.1: $(s)/%.1.txt
10         $(M)MAN $<
11         $(Q)cp $< $@.txt
12         $(Q)a2x -f manpage $@.txt
13
14 .PHONY: install-client
15 install:: install-client
16 install-client:
17         install -d -m 755 $(DESTDIR)$(INSTALL_BIN_DIR)
18         install -m 755 $(o)/client/subauth $(DESTDIR)$(INSTALL_BIN_DIR)