EXTRA_DIST = $(man_MANS) CLEANFILES = elk.ps elk.1.html man_MANS = elk.1 if HAVE_GROFF docs_DATA = elk.ps docsdir = $(datadir)/doc/@PACKAGE@/ps endif TROFF= groff -man -t UNROFF= unroff -man elk.ps: $(srcdir)/elk.1 $(TROFF) $? > $@ elk.1.html: $(srcdir)/elk.1 $(UNROFF) $? install-data-hook: rm -f "$(DESTDIR)$(mandir)/man1/scheme-elk.1" ln -s elk.1 "$(DESTDIR)$(mandir)/man1/scheme-elk.1"