# # $Id: Makefile,v 1.3 2002/11/13 03:06:33 dredd Exp $ # # A GNU Makefile - for Hammerhead # # $Source: /cvsroot/hammerhead/hammerhead/doc/Makefile,v $ # $Revision: 1.3 $ # $Date: 2002/11/13 03:06:33 $ # $State: Exp $ # # Author: Geoff Wong # include ../hammer.mk TARGET1=hammerhead.html TARGET2=hammerhead.txt SRC=hammerhead.1 MAN2HTML=man2html NROFF=nroff -man INSTALL=install all: $(TARGET2) $(TARGET1) @echo done $(TARGET1): $(SRC) -$(MAN2HTML) $(SRC) > $@ $(TARGET2): $(SRC) -$(NROFF) $(SRC) > $@ install: $(TARGET1) $(TARGET2) $(INSTALL) $(SRC) ${mandir} proper: rm -f $(TARGET1) $(TARGET2)