# ~jhs/public_html/freebsd/labels/Makefile.inc by Julian H. Stacey
SOURCE_D= ${.CURDIR}/../../../../job/project/cd/labels
# DEPS += box_gen_alpha.bjccolor
# DEPS += box_gen_alpha.pcl
# DEPS += box_gen_i386.bjccolor
# DEPS += box_gen_i386.pcl
# DEPS += cd_gen_alpha_12.bjccolor
# DEPS += cd_gen_alpha_12.pcl
# DEPS += cd_gen_i386_12.bjccolor
# DEPS += cd_gen_i386_12.pcl
# DEPS += cd_gen_i386_34.bjccolor
# DEPS += cd_gen_i386_34.pcl
# DEPS += box_gen_alpha.ps
# DEPS += cd_gen_alpha_12.ps
# DEPS += box_gen_i386.ps
DEPS += box_gen_i386.pdf
DEPS += cd_gen_i386_12.pdf
AA!= pwd
BB!= basename ${AA}
SRCD= ${SOURCE_D}/${BB}-RELEASE
# Note SRCD gets used by definition of COPY in berklix.mk
all: src_dirs ${DEPS} # html_links
src_dirs:
@echo "Making labels"
.if exists(${SRCD}) #{
cd ${SRCD} ; make ${DEPS}
@# make images
.else #}{
@echo "Warning: No ${SRCD}"
@echo " Build on main host, if you want."
.endif #}
@echo finished $@
# I import all .pdf .ps & .pcl & .bjccolor files so my local httpd can access
# them & as only stuff in ~/public_html gets copied to my public web sites.
.if exists(${SRCD}) #{
# On a gate & public servers, ${DEPS} come from rdist not make,
# so we avoid specifying dependencies to not existstant directories.
# box_gen_alpha.bjccolor: ${SRCD}/box_gen_alpha.bjccolor
# ${COPY}
# box_gen_alpha.pcl: ${SRCD}/box_gen_alpha.pcl
# ${COPY}
# box_gen_alpha.ps: ${SRCD}/box_gen_alpha.ps
# ${COPY}
# box_gen_i386.bjccolor: ${SRCD}/box_gen_i386.bjccolor
# ${COPY}
# box_gen_i386.pcl: ${SRCD}/box_gen_i386.pcl
# ${COPY}
# box_gen_i386.ps: ${SRCD}/box_gen_i386.ps
# ${COPY}
box_gen_i386.pdf: ${SRCD}/box_gen_i386.pdf
${COPY}
# cd_gen_alpha_12.bjccolor: ${SRCD}/cd_gen_alpha_12.bjccolor
# ${COPY}
# cd_gen_alpha_12.pcl: ${SRCD}/cd_gen_alpha_12.pcl
# ${COPY}
# cd_gen_alpha_12.ps: ${SRCD}/cd_gen_alpha_12.ps
# ${COPY}
# cd_gen_alpha_34.bjccolor: ${SRCD}/cd_gen_alpha_34.bjccolor
# ${COPY}
# cd_gen_alpha_34.pcl: ${SRCD}/cd_gen_alpha_34.pcl
# ${COPY}
# cd_gen_#alpha_34.ps: ${SRCD}/cd_gen_alpha_34.ps
# ${COPY}
# cd_gen_i386_12.bjccolor: ${SRCD}/cd_gen_i386_12.bjccolor
# ${COPY}
# cd_gen_i386_12.pcl: ${SRCD}/cd_gen_i386_12.pcl
# ${COPY}
# cd_gen_i386_12.ps: ${SRCD}/cd_gen_i386_12.ps
# ${COPY}
cd_gen_i386_12.pdf: ${SRCD}/cd_gen_i386_12.pdf
${COPY}
# cd_gen_i386_34.bjccolor: ${SRCD}/cd_gen_i386_34.bjccolor
# ${COPY}
# cd_gen_i386_34.pcl: ${SRCD}/cd_gen_i386_34.pcl
# ${COPY}
# cd_gen_i386_34.ps: ${SRCD}/cd_gen_i386_34.ps
# ${COPY}
cd_gen_i386_34.pdf: ${SRCD}/cd_gen_i386_34.pdf
${COPY}
.endif #}
NO_OBJ= true
clean:
echo "Not doing rm -f ${DEPS}"
.include