Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/refrat/Makefile

    rfb16d5c r23c27039  
    3434
    3535DOCUMENT = refrat.pdf
    36 BASE = ${basename ${DOCUMENT}}
    3736
    3837# Directives #
     
    4342
    4443clean :
    45         @rm -frv ${DOCUMENT} ${BASE}.ps ${Build}
     44        @rm -frv ${DOCUMENT} ${basename ${DOCUMENT}}.ps ${Build}
    4645
    4746# File Dependencies #
    4847
    49 ${DOCUMENT} : ${BASE}.ps
     48${DOCUMENT} : ${basename ${DOCUMENT}}.ps
    5049        ps2pdf $<
    5150
    52 ${BASE}.ps : ${BASE}.dvi
     51${basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi
    5352        dvips ${Build}/$< -o $@
    5453
    55 ${BASE}.dvi : Makefile ${Build} ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} \
     54${basename ${DOCUMENT}}.dvi : Makefile ${Build} ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} \
    5655                ${Macros}/common.tex ${Macros}/lstlang.sty ${Macros}/indexstyle ../bibliography/pl.bib
    5756        # Conditionally create an empty *.ind (index) file for inclusion until makeindex is run.
     
    7170
    7271predefined :
    73         sed -f predefined.sed ${BASE}.tex > ${basename $@}.cf
     72        sed -f predefined.sed ${basename ${DOCUMENT}}.tex > ${basename $@}.cf
    7473
    7574## Define the default recipes.
     
    7877        mkdir -p ${Build}
    7978
    80 %.tex : %.fig ${Build}
     79%.tex : %.fig
    8180        fig2dev -L eepic $< > ${Build}/$@
    8281
    83 %.ps : %.fig ${Build}
     82%.ps : %.fig
    8483        fig2dev -L ps $< > ${Build}/$@
    8584
    86 %.pstex : %.fig ${Build}
     85%.pstex : %.fig
    8786        fig2dev -L pstex $< > ${Build}/$@
    8887        fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
Note: See TracChangeset for help on using the changeset viewer.