include ../Makefile.config

TARGET = gopherd.conf.5 gopherd.8 gopherindex.8 gopher.1 \
	 gophfilt.1 gopherrc.5

install: $(TARGET)
	@INSTALL@  gopherd.conf.5 $(MAN5DIR)
	@INSTALL@  gopherd.8 $(MAN8DIR)
	@INSTALL@  gopherindex.8 $(MAN8DIR)
	@INSTALL@  gopher.1 $(MAN1DIR)
	@INSTALL@  gophfilt.1 $(MAN1DIR)
	@INSTALL@  gopherrc.5 $(MAN5DIR)

all:
	$(NROFF)    gopherd.conf.5 >gopherd.conf.cat
	$(NROFF)    gopherd.8      >gopherd.cat
	$(NROFF)    gopherindex.8  >gopherindex.cat
	$(NROFF)    gopher.1       >gopher.cat
	$(NROFF)    gophfilt.1     >gophfilt.cat
	$(NROFF)    gopherrc.5     >gopherrc.cat

clean:
	-rm -f *~
