shithub: riscv

Download patch

ref: fbcb452f19f789837b8590a1d27d191448c5da8a
parent: 4a8358bb5709b62a31ca88ba70820b1c22928e6f
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> &#169; %d Alcatel-Lucent.  All rights reserved.</font>\n", t->year+1900);
-#endif
 	Bprint(&bout, "</body></html>\n");
 }