2007-10-25 Paolo Bonzini <bonzini@gnu.org> Mike Frysinger <vapier@gentoo.org> * doc/sed.x (q, Q): Document argument. * configure.ac: Remove texi2html checks. * doc/Makefile.am: Remove rules for sed.html, always distribute it. git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-97
28 lines
992 B
Makefile
28 lines
992 B
Makefile
## Process this file with automake to produce Makefile.in
|
|
info_TEXINFOS = sed.texi
|
|
sed_TEXINFOS = config.texi version.texi
|
|
dist_man_MANS = sed.1
|
|
dist_noinst_DATA = sed.x sed-in.texi
|
|
dist_noinst_SCRIPTS = groupify.sed
|
|
dist_doc_DATA = sed.html
|
|
TEXI2DVI = $(top_srcdir)/build-aux/texi2dvi --expand
|
|
HELP2MAN = $(top_srcdir)/build-aux/help2man
|
|
SED = $(top_builddir)/sed/sed
|
|
|
|
AM_MAKEINFOHTMLFLAGS = --no-split
|
|
|
|
# To produce better quality output, in the example sed
|
|
# scripts we group comments with lines following them;
|
|
# since mantaining the "@group...@end group" manually
|
|
# is a burden, we do this automatically
|
|
$(srcdir)/sed.texi: sed-in.texi $(srcdir)/groupify.sed
|
|
sed -nf $(srcdir)/groupify.sed \
|
|
< $(srcdir)/sed-in.texi > $(srcdir)/sed.texi
|
|
|
|
sed.1: $(top_srcdir)/sed/sed.c $(top_srcdir)/configure.ac $(srcdir)/sed.x
|
|
$(HELP2MAN) --name "stream editor for filtering and transforming text" \
|
|
-p sed --include $(srcdir)/sed.x $(SED) > $(srcdir)/sed.1
|
|
|
|
dist-hook:
|
|
touch $(distdir)/sed.1
|