# ~jhs/public_html/cv/Makefile
DEPSPS = \
stacey_e.1.ps stacey_e.2.ps stacey_e.3.ps \
stacey_e.4.ps stacey_e.5.ps stacey_e.6.ps \
stacey_g.1.ps stacey_g.2.ps stacey_g.3.ps \
stacey_g.4.ps stacey_g.5.ps stacey_g.6.ps \
stacey_e.ps stacey_g.ps
DEPSNOTPS = \
stacey_e.pdf stacey_g.pdf \
stacey_e.txt stacey_g.txt \
stacey_e.html stacey_g.html \
stacey_e.lmth stacey_g.lmth
DEPS = ${DEPSPS} ${DEPSNOTPS}
SRCD= ${.CURDIR}/../../job/groff/cv/web
all: src_dirs ${DEPSNOTPS} index.html card_manufacture.html fsf.html \
no_doc.html no_exe.html personal.html reverse.html
@# ${DEPSNOTPS} above was changed from ${DEPS} 2023-12-02
@# Specifying ${DEPS} checks they exist, even if some hosts do not
@# have ${SRCD} to rebuild ${DEPS} (& are delivered by rdist).
src_dirs:
@echo "Making ${SRCD}"
.if exists(${SRCD}) #{
cd ${SRCD} ; make
.else #}{
@echo "Warning: No ${SRCD}"
@echo " Build on main host, if you want."
.endif #}
@echo "Finished ${SRCD}"
@echo "Business card (all sizes) is done in ~/public_html/gifs/card/"
# JJLATER scrap all .ps they waste space in ~/public_html/gifs/card &
# ~/public_html/cv
.if exists(${SRCD}) #{
# On a gate & public servers, ${DEPS} come from rdist not make,
# so we avoid specifying dependencies to not existstant directories.
stacey_e.1.ps: ${SRCD}/stacey_e.1.ps
${COPY}
stacey_e.2.ps: ${SRCD}/stacey_e.2.ps
${COPY}
stacey_e.3.ps: ${SRCD}/stacey_e.3.ps
${COPY}
stacey_e.4.ps: ${SRCD}/stacey_e.4.ps
${COPY}
stacey_e.5.ps: ${SRCD}/stacey_e.5.ps
${COPY}
stacey_e.6.ps: ${SRCD}/stacey_e.6.ps
${COPY}
stacey_g.1.ps: ${SRCD}/stacey_g.1.ps
${COPY}
stacey_g.2.ps: ${SRCD}/stacey_g.2.ps
${COPY}
stacey_g.3.ps: ${SRCD}/stacey_g.3.ps
${COPY}
stacey_g.4.ps: ${SRCD}/stacey_g.4.ps
${COPY}
stacey_g.5.ps: ${SRCD}/stacey_g.5.ps
${COPY}
stacey_g.6.ps: ${SRCD}/stacey_g.6.ps
${COPY}
stacey_e.ps: ${SRCD}/stacey_e.ps
${COPY}
stacey_g.ps: ${SRCD}/stacey_g.ps
${COPY}
stacey_e.pdf: ${SRCD}/stacey_e.pdf
${COPY}
stacey_g.pdf: ${SRCD}/stacey_g.pdf
${COPY}
stacey_e.txt: ${SRCD}/stacey_e.txt
${COPY}
stacey_g.txt: ${SRCD}/stacey_g.txt
${COPY}
stacey_e.html: ${SRCD}/stacey_e.html
${COPY}
stacey_g.html: ${SRCD}/stacey_g.html
${COPY}
stacey_e.lmth: ${SRCD}/stacey_e.lmth
${COPY}
stacey_g.lmth: ${SRCD}/stacey_g.lmth
${COPY}
.endif #}
clean:
@echo "Suggestion: rm ${DEPSPS}"
@echo "Suggestion: make extra_clean"
extra_clean:
.if exists(${SRCD}) #{
rm -f ${DEPS}
.else #}{
@echo "Warning: Not cleaning as no ${SRCD} to rebuild from."
@echo "Suggestion: use rdist from main host"
.endif #}
install-echo:
@echo "Install is a dummy label, as cp is done here,"
@echo "& the files are built in job/groff/cv/web"
.include