ref: 692e90d5612c0ee51031626c33cc41092f64ccf6
parent: e6591990a753481108586147a8f2efa912258e4f
author: cinap_lenrek <cinap_lenrek@localhost>
date: Wed Aug 24 23:21:12 EDT 2011
toff2html: ifdefs are evil
--- a/sys/src/cmd/troff2html/mkfile
+++ b/sys/src/cmd/troff2html/mkfile
@@ -6,9 +6,3 @@
BIN=/$objtype/bin
</sys/src/cmd/mkone
-CFLAGS=$CFLAGS -DLUCENT
-
-outsideinstall:V: /386/bin/troff2html
- 9fs outside
- cp /386/bin/troff2html /n/outside/386/bin/troff2html
-
--- a/sys/src/cmd/troff2html/troff2html.c
+++ b/sys/src/cmd/troff2html/troff2html.c
@@ -406,14 +406,6 @@
void
trailer(void)
{-
-#ifdef LUCENT
- Tm *t;
- t = localtime(time(nil));
- Bprint(&bout, TABLE "<tr height=20><td></table>\n");
- Bprint(&bout, "<font size=-1><a href=\"http://www.lucent.com/copyright.html\">\n");
- Bprint(&bout, "Copyright</A> © %d Alcatel-Lucent. All rights reserved.</font>\n", t->year+1900);
-#endif
Bprint(&bout, "</body></html>\n");
}
--
⑨