# Makefile for swarm BIN = swarm INSTALL_DIR = /usr/bin MAN_PATH=/usr/share/man/man1 install : make -C src mv src/$(BIN) $(INSTALL_DIR)/$(BIN) cp doc/swarm.1 $(MAN_PATH)/swarm.1 gzip $(MAN_PATH)/swarm.1 groff -man -Tascii doc/swarm.1 > doc/swarm.1.txt @#man2html -title 'swarm' doc/swarm.1.txt doc/swarm.1.html uninstall : rm $(INSTALL_DIR)/$(BIN) rm $(MAN_PATH)/swarm.1.gz clean : make -C src clean