$(o)/client/subauth: $(o)/client/subauth.o
-# This is a little bit hacky as a2x cannot produce output
-# in a different directory.
-$(o)/%.1: $(s)/%.1.txt
- $(M)MAN $<
- $(Q)cp $< $@.txt
- $(Q)a2x -f manpage $@.txt
-
.PHONY: install-client
install:: install-client
install-client:
- install -d -m 755 $(DESTDIR)$(INSTALL_BIN_DIR)
+ install -d -m 755 $(DESTDIR)$(INSTALL_BIN_DIR) $(DESTDIR)$(INSTALL_MAN_DIR)/man1
install -m 755 $(o)/client/subauth $(DESTDIR)$(INSTALL_BIN_DIR)
+ install -m 644 run/share/man/man1/subauth.1 $(DESTDIR)$(INSTALL_MAN_DIR)/man1