date and time created 91/03/07 18:02:17 by cael
[unix-history] / usr / src / share / tmac / Makefile
index 54978c0..5b1442f 100644 (file)
@@ -1,6 +1,8 @@
-#      @(#)Makefile    6.9 (Berkeley) %G%
+#      @(#)Makefile    6.11 (Berkeley) %G%
 
 
-FILES= tmac.an.old tmac.r tmac.doc tmac.andoc
+FILES= tmac.an.old tmac.r tmac.doc tmac.andoc tmac.doc.old tmac.doc-ditroff \
+       tmac.doc-nroff tmac.doc-common tmac.doc-syms
+MSRCS=  doc-parse doc-ditroff doc-common doc-nroff doc-syms
 LINKS= ${BINDIR}/tmac/tmac.andoc ${BINDIR}/tmac/tmac.an
 NOOBJ= noobj
 
 LINKS= ${BINDIR}/tmac/tmac.andoc ${BINDIR}/tmac/tmac.an
 NOOBJ= noobj
 
@@ -10,6 +12,9 @@ OFILES=       tmac.an.v6compat tmac.an6n tmac.an6t tmac.a tmac.cp
 all clean cleandir depend lint tags:
 
 beforeinstall:
 all clean cleandir depend lint tags:
 
 beforeinstall:
+       for i in ${MSRCS}; do \
+               sed -f strip.sed < $$i > tmac.$$i; \
+       done
        install -c -o ${BINOWN} -g ${BINOWN} -m 444 ${FILES} \
            ${DESTDIR}${BINDIR}/tmac
 
        install -c -o ${BINOWN} -g ${BINOWN} -m 444 ${FILES} \
            ${DESTDIR}${BINDIR}/tmac