2003-09-11 04:21:49 -04:00
|
|
|
EXTRA_DIST = $(man_MANS)
|
2003-09-15 04:52:09 -04:00
|
|
|
CLEANFILES = elk.ps elk.1.html
|
2003-09-11 04:21:49 -04:00
|
|
|
|
2003-08-26 21:15:32 -04:00
|
|
|
man_MANS = elk.1
|
2003-09-11 04:21:49 -04:00
|
|
|
|
|
|
|
if HAVE_GROFF
|
|
|
|
doc_DATA = elk.ps
|
2003-09-11 04:47:10 -04:00
|
|
|
docdir = $(datadir)/doc/@PACKAGE@/ps
|
2003-09-11 04:21:49 -04:00
|
|
|
endif
|
|
|
|
|
|
|
|
TROFF= groff -man -t
|
|
|
|
UNROFF= unroff -man
|
|
|
|
|
2003-09-28 07:15:47 -04:00
|
|
|
elk.ps: $(srcdir)/elk.1
|
2003-09-11 04:21:49 -04:00
|
|
|
$(TROFF) $? > $@
|
|
|
|
|
2003-09-28 07:15:47 -04:00
|
|
|
elk.1.html: $(srcdir)/elk.1
|
2003-09-11 04:21:49 -04:00
|
|
|
$(UNROFF) $?
|
|
|
|
|
2003-09-15 04:59:33 -04:00
|
|
|
install-data-hook:
|
2003-09-15 05:12:16 -04:00
|
|
|
rm -f "$(DESTDIR)$(mandir)/man1/scheme-elk.1"
|
|
|
|
ln -s elk.1 "$(DESTDIR)$(mandir)/man1/scheme-elk.1"
|
2003-09-15 04:46:36 -04:00
|
|
|
|