diff options
Diffstat (limited to 'third_party/heimdal/lib/libedit/doc/Makefile.am')
-rw-r--r-- | third_party/heimdal/lib/libedit/doc/Makefile.am | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/third_party/heimdal/lib/libedit/doc/Makefile.am b/third_party/heimdal/lib/libedit/doc/Makefile.am new file mode 100644 index 0000000..dfdf841 --- /dev/null +++ b/third_party/heimdal/lib/libedit/doc/Makefile.am @@ -0,0 +1,33 @@ + +EL_MANS = editline.3 editrc.5 + +man_MANS = $(EL_MANS) + +EL_MAN_LINKS = el_init.3 el_end.3 el_reset.3 el_gets.3 el_getc.3 \ + el_push.3 el_parse.3 el_set.3 el_get.3 el_source.3 \ + el_resize.3 el_line.3 el_insertstr.3 el_deletestr.3 \ + el_history_init.3 el_history_end.3 el_history.3 el_tok_init.3 \ + el_tok_end.3 el_tok_reset.3 el_tok_line.3 el_tok_str.3 + +install-data-hook: $(EL_MAN_LINKS) + +$(EL_MAN_LINKS): + (cd $(DESTDIR)$(man3dir) && rm -f $@ && $(LN_S) editline.3 $@) + +$(EL_MANS): + @if test "$(MANTYPE)" = "mdoc"; then\ + cp $(srcdir)/$@.roff $@;\ + else\ + $(AWK) -f $(srcdir)/mdoc2man.awk $(srcdir)/$@.roff > $@ || rm -f $@;\ + fi; + +uninstall-local: + (cd $(DESTDIR)$(man3dir) && rm -f $(EL_MAN_LINKS)) + +CLEANFILES = $(EL_MANS) +EXTRA_DIST = editline.3.roff editrc.5.roff mdoc2man.awk + +changelog.txt: ../ChangeLog + @sed 's/@/ (at)/g; s/&/\&/g; s/</\</g; s/>/\>/g;' $(srcdir)/$< > $@; + + |