summaryrefslogtreecommitdiff
path: root/textproc/troffcvt/patches/patch-ad
blob: bd0bdef25027160aeb91a65dc272274702713d5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
$NetBSD: patch-ad,v 1.1.1.1 2001/04/27 12:27:06 agc Exp $

--- post/Makefile.orig	Sun Apr  8 20:26:57 2001
+++ post/Makefile	Sun Apr  8 20:29:56 2001
@@ -381,7 +381,8 @@
 troff2null:: troff2null.pl
 	$(RM) $@
 	echo "#!"$(PERLPATH) > $@
-	$(MSUB) troff2null.pl >> $@
+	$(CAT) troff2null.pl >> $@
+#	$(MSUB) troff2null.pl >> $@
 	$(CHMOD) a+x $@
 
 clean::
@@ -432,7 +433,8 @@
 tc2html-toc:: tc2html-toc.pl
 	$(RM) $@
 	echo "#!"$(PERLPATH) > $@
-	$(MSUB) tc2html-toc.pl >> $@
+	$(CAT) tc2html-toc.pl >> $@
+#	$(MSUB) tc2html-toc.pl >> $@
 	$(CHMOD) a+x $@
 
 clean::
@@ -454,7 +456,10 @@
 troff2html:: troff2html.pl
 	$(RM) $@
 	echo "#!"$(PERLPATH) > $@
-	$(MSUB) troff2html.pl >> $@
+	$(SED) <troff2html.pl >> $@ \
+		-e "s|\$$(TMPDIR)|$(TMPDIR)|" \
+		-e "s|\$$(RM)|$(RM)|"
+#	$(MSUB) troff2html.pl >> $@
 	$(CHMOD) a+x $@
 
 clean::
@@ -523,7 +528,8 @@
 troff2rtf:: troff2rtf.pl
 	$(RM) $@
 	echo "#!"$(PERLPATH) > $@
-	$(MSUB) troff2rtf.pl >> $@
+	$(CAT) troff2rtf.pl >> $@
+#	$(MSUB) troff2rtf.pl >> $@
 	$(CHMOD) a+x $@
 
 clean::
@@ -619,7 +625,8 @@
 unroff:: unroff.pl
 	$(RM) $@
 	echo "#!"$(PERLPATH) > $@
-	$(MSUB) unroff.pl >> $@
+	$(CAT) unroff.pl >> $@
+#	$(MSUB) unroff.pl >> $@
 	$(CHMOD) a+x $@
 
 clean::