copied from newer version
authorceriel <none@none>
Wed, 6 Dec 1989 12:53:37 +0000 (12:53 +0000)
committerceriel <none@none>
Wed, 6 Dec 1989 12:53:37 +0000 (12:53 +0000)
mkun/Makefile
mkun/tmac.kun

index 9534181..f500c02 100644 (file)
@@ -3,7 +3,7 @@ LIB=/usr/lib
 MIDDLE=tmac
 # the script replaces references to pathnames and
 # deletes all comment
-RUNSCRIPT=sed -e s-LIBDIR-$(LIB)-g -e '/Header/!s/[    ]*\\".*//' -e '/^\.$$/d' -e 's/^\.[     ][      ]*/./'
+RUNSCRIPT=sed -e s-MACDIR-$(LIB)/$(MIDDLE)-g -e '/Header/!s/[  ]*\\".*//' -e '/^\.$$/d' -e 's/^\.[     ][      ]*/./'
 FILES=tmac.kun tmac.q?
 
 TBL=tbl
index 2184e8b..e4c4886 100644 (file)
 .de RP
 .ds $0 RP
 .rn RP ]R
-.so LIBDIR/tmac/tmac.q1
+.so MACDIR/tmac.q1
 ..
 .de SN
 .ds $0 SN
 .rn SN ]R
 .At "\\$1" "\\$2" "\\$3" "\\$4" "\\$5"
-.so LIBDIR/tmac/tmac.q1
+.so MACDIR/tmac.q1
 ..
 .de SM
 .ds $0 SM
 .rn SM ]R
 .At "\\$1" "\\$2" "\\$3" "\\$4"
-.so LIBDIR/tmac/tmac.q1
+.so MACDIR/tmac.q1
 ..
 .de S1
 .ds $0 S1
 .rn S1 ]R
 .At "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
-.so LIBDIR/tmac/tmac.q1
+.so MACDIR/tmac.q1
 ..
 .de S2
 .ds $0 S2
 .rn S2 ]R
 .At "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
-.so LIBDIR/tmac/tmac.q1
+.so MACDIR/tmac.q1
 ..
 .de S3
 .ds $0 S3
 .rn S3 ]R
 .At "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
-.so LIBDIR/tmac/tmac.q1
+.so MACDIR/tmac.q1
 ..
 .de S4
 .ds $0 S4
 .rn S4 ]R
 .At "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
-.so LIBDIR/tmac/tmac.q1
+.so MACDIR/tmac.q1
 ..
 .de AP
 .ds $0 AP
 .rn AP ]R
 .At "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
-.so LIBDIR/tmac/tmac.q1
+.so MACDIR/tmac.q1
 ..
 .\"    CATCH MACROES FOR POINTS file tmac.q2
 .\"
 .ds $0 PM
 .rn PM ]R
 .At "\\$1"
-.so LIBDIR/tmac/tmac.q2
+.so MACDIR/tmac.q2
 ..
 .de PS
 .ds $0 PS
 .rn PS ]R
 .At "\\$1" "\\$2" "\\$3" "\\$4"
-.so LIBDIR/tmac/tmac.q2
+.so MACDIR/tmac.q2
 ..
 .nr PS 0
 .\"    CATCH MACROES FOR DISPLAYS file tmac.q3
 .ds $0 DB
 .rn DB ]R
 .At "\\$1"
-.so LIBDIR/tmac/tmac.q3
+.so MACDIR/tmac.q3
 ..
 .de DS
 .ds $0 DS
 .rn DS ]R
 .At "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8"
-.so LIBDIR/tmac/tmac.q3
+.so MACDIR/tmac.q3
 ..
 .nr DS 0
 .\"    CATCH MACROES FOR FOOTNOTES file tmac.q4
 .ds $0 FN
 .rn FN ]R
 .At "\\$1" "\\$2"
-.so LIBDIR/tmac/tmac.q4
+.so MACDIR/tmac.q4
 ..
 .de FS
 .ds $0 FS
 .rn FS ]R
 .At "\\$1" "\\$2" "\\$3"
-.so LIBDIR/tmac/tmac.q4
+.so MACDIR/tmac.q4
 ..
 .nr FS 0
 .nr Fl 0
 .ds $0 EQ
 .rn EQ ]R
 .At "\\$1" "\\$2" "\\$3" "\\$4"
-.so LIBDIR/tmac/tmac.q5
+.so MACDIR/tmac.q5
 ..
 .\"    CATCH MACROES FOR TABLES file tmac.q6
 .\"
 .ds $0 TS
 .rn TS ]R
 .At "\\$1" "\\$2"
-.so LIBDIR/tmac/tmac.q6
+.so MACDIR/tmac.q6
 ..
 .\"nr TS 0
 .\"    CATCH MACROES FOR BIBLIGRAPHIC REFERENCES file tmac.q7
 .ds $0 RS
 .rn RS ]R
 .At "\\$1" "\\$2" "\\$3"
-.so LIBDIR/tmac/tmac.q7
+.so MACDIR/tmac.q7
 ..
 .de RF
 .ds $0 RF
 .rn RF ]R
 .At "\\$1"
-.so LIBDIR/tmac/tmac.q7
+.so MACDIR/tmac.q7
 ..
 .nr RS 0
 .\"    CATCH MACROES FOR INDEX REFERENCES file tmac.q8
 .ds $0 IX
 .rn IX ]R
 .At "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
-.so LIBDIR/tmac/tmac.q8
+.so MACDIR/tmac.q8
 ..
 .de IW
 .ds $0 IW
 .rn IW ]R
 .At "\\$1" "\\$2" "\\$3"
-.so LIBDIR/tmac/tmac.q8
+.so MACDIR/tmac.q8
 ..
 .de IR
 .ds $0 IR
 .rn IR ]R
 .At "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
-.so LIBDIR/tmac/tmac.q8
+.so MACDIR/tmac.q8
 ..
 .\"    CATCH MACROES FOR INDEX REFERENCES file tmac.q9
 .\"
 .de ]-
 .ds $0 ]-
 .rn ]- ]R
-.so LIBDIR/tmac/tmac.q9
+.so MACDIR/tmac.q9
 ..
 .de ]<
 .ds $0 ]<
 .rn ]< ]R
-.so LIBDIR/tmac/tmac.q9
+.so MACDIR/tmac.q9
 ..
 .de [
 .tm Error, page \\n%: did you forget refer?