Makefile.sub (18099) | Makefile.sub (55839) |
---|---|
1MAN7=groff_ms.n me.n msafer.n | 1MAN7=groff_ms.n groff_man.n groff_me.n groff_msafer.n \ 2 groff_mdoc.n groff_mdoc.samples.n |
2 3NORMALFILES=tmac.andoc tmac.pic tmac.ps tmac.psnew tmac.psold tmac.pspic \ 4 tmac.psatk tmac.dvi tmac.tty tmac.tty-char tmac.X tmac.Xps tmac.latin1 \ | 3 4NORMALFILES=tmac.andoc tmac.pic tmac.ps tmac.psnew tmac.psold tmac.pspic \ 5 tmac.psatk tmac.dvi tmac.tty tmac.tty-char tmac.X tmac.Xps tmac.latin1 \ |
5 tmac.lj4 eqnrc troffrc tmac.safer | 6 tmac.lj4 eqnrc troffrc tmac.safer tmac.html tmac.arkup |
6SPECIALFILES=tmac.an tmac.s 7STRIPFILES=tmac.e tmac.doc tmac.doc.old 8MDOCFILES=doc-common doc-ditroff doc-nroff doc-syms 9mdocdir=$(tmacdir)/mdoc 10CLEANADD=stamp-strip stamp-wrap tmac.e-s tmac.doc-s tmac.doc.old-s \ | 7SPECIALFILES=tmac.an tmac.s 8STRIPFILES=tmac.e tmac.doc tmac.doc.old 9MDOCFILES=doc-common doc-ditroff doc-nroff doc-syms 10mdocdir=$(tmacdir)/mdoc 11CLEANADD=stamp-strip stamp-wrap tmac.e-s tmac.doc-s tmac.doc.old-s \ |
11 doc-common-s doc-ditroff-s doc-nroff-s doc-syms-s *-wrap | 12 doc-common-s doc-ditroff-s doc-nroff-s doc-syms-s *-wrap |
12tmac_s_prefix= 13tmac_an_prefix= 14tmac_wrap= 15sys_tmac_prefix= 16 17all: stamp-strip stamp-wrap 18 19install_data: $(NORMALFILES) $(SPECIALFILES) stamp-wrap stamp-strip man.local 20 -test -d $(tmacdir) || mkdir $(tmacdir) 21 if test -n "$(tmac_wrap)"; then \ | 13tmac_s_prefix= 14tmac_an_prefix= 15tmac_wrap= 16sys_tmac_prefix= 17 18all: stamp-strip stamp-wrap 19 20install_data: $(NORMALFILES) $(SPECIALFILES) stamp-wrap stamp-strip man.local 21 -test -d $(tmacdir) || mkdir $(tmacdir) 22 if test -n "$(tmac_wrap)"; then \ |
22 for m in $(tmac_wrap); do \ | 23 for m in ""$(tmac_wrap); do \ |
23 $(INSTALL_DATA) $$m-wrap $(tmacdir)/tmac.$$m; \ 24 done; \ 25 fi 26 for f in $(NORMALFILES); do \ 27 rm -f $(tmacdir)/$$f; \ 28 $(INSTALL_DATA) $(srcdir)/$$f $(tmacdir)/$$f; \ 29 done 30 -rm -f $(tmacdir)/tmac.$(tmac_s_prefix)s --- 17 unchanged lines hidden (view full) --- 48 for f in $(STRIPFILES) $(MDOCFILES); do \ 49 rm -f $$f-s; \ 50 sed -f $(srcdir)/strip.sed $(srcdir)/$$f >$$f-s; \ 51 done 52 touch $@ 53 54stamp-wrap: 55 if test -n "$(tmac_wrap)"; then \ | 24 $(INSTALL_DATA) $$m-wrap $(tmacdir)/tmac.$$m; \ 25 done; \ 26 fi 27 for f in $(NORMALFILES); do \ 28 rm -f $(tmacdir)/$$f; \ 29 $(INSTALL_DATA) $(srcdir)/$$f $(tmacdir)/$$f; \ 30 done 31 -rm -f $(tmacdir)/tmac.$(tmac_s_prefix)s --- 17 unchanged lines hidden (view full) --- 49 for f in $(STRIPFILES) $(MDOCFILES); do \ 50 rm -f $$f-s; \ 51 sed -f $(srcdir)/strip.sed $(srcdir)/$$f >$$f-s; \ 52 done 53 touch $@ 54 55stamp-wrap: 56 if test -n "$(tmac_wrap)"; then \ |
56 for m in $(tmac_wrap); do \ | 57 for m in ""$(tmac_wrap); do \ |
57 rm -f $$m-wrap; \ 58 echo .cp 1 >$$m-wrap; \ 59 echo .so $(sys_tmac_prefix)$$m >>$$m-wrap; \ 60 done; \ 61 fi 62 touch $@ 63 64uninstall_sub: 65 -if test -n "$(tmac_wrap)"; then \ | 58 rm -f $$m-wrap; \ 59 echo .cp 1 >$$m-wrap; \ 60 echo .so $(sys_tmac_prefix)$$m >>$$m-wrap; \ 61 done; \ 62 fi 63 touch $@ 64 65uninstall_sub: 66 -if test -n "$(tmac_wrap)"; then \ |
66 for m in $(tmac_wrap); do rm -f $(tmacdir)/tmac.$$m; done; \ | 67 for m in ""$(tmac_wrap); do \ 68 rm -f $(tmacdir)/tmac.$$m; \ 69 done; \ |
67 fi 68 -for f in $(NORMALFILES) $(STRIPFILES); do rm -f $(tmacdir)/$$f; done 69 -rm -f $(tmacdir)/tmac.$(tmac_s_prefix)s 70 -rm -f $(tmacdir)/tmac.$(tmac_an_prefix)an 71 -if cmp -s $(tmacdir)/man.local $(srcdir)/man.local; then \ 72 rm -f $(tmacdir)/man.local; \ 73 fi 74 -for f in $(MDOCFILES); do rm -f $(mdocdir)/$$f; done 75 -rmdir $(mdocdir) | 70 fi 71 -for f in $(NORMALFILES) $(STRIPFILES); do rm -f $(tmacdir)/$$f; done 72 -rm -f $(tmacdir)/tmac.$(tmac_s_prefix)s 73 -rm -f $(tmacdir)/tmac.$(tmac_an_prefix)an 74 -if cmp -s $(tmacdir)/man.local $(srcdir)/man.local; then \ 75 rm -f $(tmacdir)/man.local; \ 76 fi 77 -for f in $(MDOCFILES); do rm -f $(mdocdir)/$$f; done 78 -rmdir $(mdocdir) |