summaryrefslogtreecommitdiff
path: root/tmac/Makefile.sub
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-02-25 08:54:27 +0000
committerwlemb <wlemb>2003-02-25 08:54:27 +0000
commit917c3c7c1ccaa879f7c649b74e9654c535e3a272 (patch)
treee41ce4a93eef566710cb2ef1f5c5ccc681b8d1b9 /tmac/Makefile.sub
parent13c738d1f14c49524dfefce85c51c09d2b8591ea (diff)
downloadgroff-917c3c7c1ccaa879f7c649b74e9654c535e3a272.tar.gz
* aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops.
(GROFF_PNMTOPS_NOSETPAGE): New macro. * configure.ac: Use it. * configure: Regenerated. * Makefile.in: Updated. * tmac/Makefile.sub (NORMALFILES): Remove www.tmac. (CLEANADD): Add www.tmac-sed. (pnmtops_nosetpage): Define default. (install_data): Handle www.tmac-sed and substitute @PNMTOPS_NOSETPAGE@. (stamp-sed): Add www.tmac. * tmac/www.tmac: Rewritten, based on a patch by Bernd Warken. It now breaks URLs at suitable places. (www:substring_ok): New register set by... (www:@test_substring): New macro. (www:error): New alias to www-error. (www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted): New macros. (URL): Use www:url_breaks. (PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@. (CDS, CDE): New macros. * src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid buffer overflow.
Diffstat (limited to 'tmac/Makefile.sub')
-rw-r--r--tmac/Makefile.sub12
1 files changed, 8 insertions, 4 deletions
diff --git a/tmac/Makefile.sub b/tmac/Makefile.sub
index 88544031..9f9b6f09 100644
--- a/tmac/Makefile.sub
+++ b/tmac/Makefile.sub
@@ -22,7 +22,7 @@ NORMALFILES=\
X.tmac Xps.tmac \
lj4.tmac \
lbp.tmac \
- html.tmac www.tmac \
+ html.tmac \
europs.tmac \
eqnrc \
troffrc troffrc-end \
@@ -32,13 +32,14 @@ STRIPFILES=e.tmac doc.tmac doc-old.tmac
MDOCFILES=doc-common doc-ditroff doc-nroff doc-syms
mdocdir=$(tmacdir)/mdoc
CLEANADD=\
- stamp-wrap stamp-sed *-wrap man.tmac-sed ms.tmac-sed \
+ stamp-wrap stamp-sed *-wrap man.tmac-sed ms.tmac-sed www.tmac-sed \
stamp-strip e.tmac-s doc.tmac-s doc-old.tmac-s \
doc-common-s doc-ditroff-s doc-nroff-s doc-syms-s mdoc.local-s
tmac_s_prefix=
tmac_an_prefix=
tmac_wrap=
sys_tmac_prefix=
+pnmtops_nosetpage="pnmtops"
all: stamp-strip stamp-wrap stamp-sed
@@ -64,6 +65,8 @@ install_data: $(NORMALFILES) $(SPECIALFILES) man.local \
$(INSTALL_DATA) $(srcdir)/an.tmac $(tmacdir)/$(tmac_an_prefix)an.tmac
-rm -f $(tmacdir)/man.tmac
$(INSTALL_DATA) man.tmac-sed $(tmacdir)/man.tmac
+ -rm -f $(tmacdir)/www.tmac
+ $(INSTALL_DATA) www.tmac-sed $(tmacdir)/www.tmac
for f in $(STRIPFILES); do \
rm -f $(tmacdir)/$$f; \
$(INSTALL_DATA) $$f-s $(tmacdir)/$$f; \
@@ -98,11 +101,12 @@ stamp-wrap:
fi
touch $@
-stamp-sed: man.tmac ms.tmac
- for f in man.tmac ms.tmac; do \
+stamp-sed: man.tmac ms.tmac www.tmac
+ for f in man.tmac ms.tmac www.tmac; do \
rm -f $$f-sed; \
sed -e "s;@TMAC_AN_PREFIX@;$(tmac_an_prefix);g" \
-e "s;@TMAC_S_PREFIX@;$(tmac_s_prefix);g" \
+ -e "s;@PNMTOPS_NOSETPAGE@;$(pnmtops_nosetpage);g" \
$(srcdir)/$$f > $$f-sed; \
done
touch $@