# Generated automatically from Makefile.in by configure.
MAN_SECT	= n
INSTALL_DIR	= /home/hobbs/install
MAN_DIR		= $(INSTALL_DIR)/man/man$(MAN_SECT)
RM		= rm -f

all:

clean:
	$(RM) *\~ \#*\#

install:
	@if test ! -d $(MAN_DIR) ; then mkdir -p $(MAN_DIR) ; fi
	@for i in *.man ; do \
		file=$(MAN_DIR)/`basename $$i .man`.$(MAN_SECT) ; \
		echo "installing manual $$file" ; \
		$(RM) $$file ; \
		sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
			$$i > $$file ; \
		chmod 444 $$file; \
	done; 

uninstall:
	@for i in *.man ; do \
		file=$(MAN_DIR)/`basename $$i .man`.$(MAN_SECT) ; \
		echo "uninstalling manual $$file" ; \
		$(RM) $$file ; \
	done; 

