|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: I T
Length: 3104 (0xc20)
Types: TextFile
Names: »IMakefile«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
└─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z«
└─⟦ca79c7339⟧
└─⟦this⟧ »DVIware/laser-setters/dvi-to-ps/TeXPS/man/IMakefile«
MAN_BASIS = dvitps pfd2tfm printpdr
MAN_SOURCES = dvitps.source pfd2tfm.source printpdr.source
MAN_L = dvitps.l pfd2tfm.l printpdr.l
MAN_PS = dvitps.ps pfd2tfm.ps printpdr.ps
# Suffix settings
#if (COND_MAN_PAGES_DOC == 3)
.SUFFIXES: .source .l .ps
#else
.SUFFIXES: .source .l
#endif
all:
make dvitps-order
make $(MAN_L)
make docman.tex
#if (COND_MAN_PAGES_DOC == 3)
make $(MAN_PS)
#endif
dvitps.l: dvitps-order
dvitps-order: Makefile
#if (COND_DVITPS_DEFAULT_ORDER == 0)
echo '.ds OD to print the first page of a DVI file first.' > $@
#else
echo '.ds OD to print the last page of a DVI file first.' > $@
#endif
# This file is included by the documentation. Observe that if you change
# the manual pages so that the number of pages changes you may have to get in
# here and change the pages extracted. It is a nice way to do it this
# way because the manual pages appear directly in the documentation this way.
docman.tex: Makefile $(MAN_L)
$(RM) $@
#if (COND_MAN_PAGES_DOC == 2)
make $(MAN_PS)
psrev -s1 dvitps.ps > dvitps-p1.ps
echo '\ManPageInclude{dvitps-p1}' >> $@
psrev -s2 dvitps.ps > dvitps-p2.ps
echo '\ManPageInclude{dvitps-p2}' >> $@
psrev -s3 dvitps.ps > dvitps-p3.ps
echo '\ManPageInclude{dvitps-p3}' >> $@
psrev -s1 pfd2tfm.ps > pfd2tfm-p1.ps
echo '\ManPageInclude{pfd2tfm-p1}' >> $@
psrev -s1 printpdr.ps > printpdr-p1.ps
echo '\ManPageInclude{printpdr-p1}' >> $@
#endif
#if (COND_MAN_PAGES_DOC == 1)
echo 'Manual pages were not included because you do not have' >> $@
echo 'TranScript available on your machine.' >> $@
echo 'You still should go to directory {\tt man}' >> $@
echo 'and run make install to install the manual pages.' >> $@
echo 'Here we give the {\it troff\/} sources of those pages.' >> $@
make $(MAN_L)
for file in $(MAN_L) ; do\
echo "\subsection{Manual page $$file}" >> $@;\
echo '\btex' >> $@;\
cat $$file >> $@;\
echo '\etex' >> $@;\
done
#endif
#if (COND_MAN_PAGES_DOC == 0)
echo 'Manual pages were not included because you do not have' >> $@
echo 'TranScript available on your machine.' >> $@
echo 'You still should go to directory {\tt man}' >> $@
echo 'and run make install to install the manual pages.' >> $@
echo 'Then attach a copy of the manual pages to your document.' >> $@
#endif
install:
#if (COND_MAN_INSTALL == 1)
$(CP) dvitps.l $(MAN_DIR)/$(DVITPS_BINARY_NAME).l
$(CP) pfd2tfm.l printpdr.l $(MAN_DIR)
#endif
.source.l:
$(RM) $*.l
cat dvitps-order >> $*.l
sed -e 's,TEXFONTS_DEF,$(TEXFONTS_DEF),'\
-e 's,DVITPS_PROLOGUE_FILES_PATH_DEF,$(DVITPS_PROLOGUE_FILES_PATH_DEF),'\
-e 's,DRIVER_PS_PROLOGUE_FILES_DIR,$(DRIVER_PS_PROLOGUE_FILES_DIR),'\
-e 's,DVITPS_CAP_DIR,$(DVITPS_CAP_DIR),'\
-e 's,PS_DEF_ENCODINGS,$(PS_DEF_ENCODINGS),'\
-e 's,AFMPATH_DEF,$(AFMPATH_DEF),'\
$*.source >> $*.l
.l.ps:
$(TROFF_MAN) -man -t $*.l > $*.ps
# In this case print means print all manual pages.
print: $(MAN_L)
$(TROFF_MAN) -man $(MAN_L)
depend:
lint:
relink:
clean::
$(RM) *.ps *.l dvitps-order docman.tex