# this file: # https://dataswamp.org/~incal/borta/Makefile # project name=borta # in tex=${name}.tex bib=${name}.bib # compile texc=xelatex texf=-halt-on-error # out pdf=${name}.pdf # imgs img-path=img ### FRONT front-name=front front-img-path=${img-path}/${front-name} bottom=${front-img-path}/bottom.png logo=${front-img-path}/logo.png top=${front-img-path}/top.png front-imgs=${bottom} ${logo} ${top} ### EVEREST everest-name=everest everest-img-path=${img-path}/${everest-name} # main everest-photo=${everest-img-path}/${everest-name}.png fischer=${everest-img-path}/fischer.png hall=${everest-img-path}/hall.png hansen=${everest-img-path}/hansen.png harris=${everest-img-path}/harris.png krakauer=${everest-img-path}/krakauer.png norgay=${everest-img-path}/norgay.png pittman=${everest-img-path}/pittman.png weathers=${everest-img-path}/weathers.png # plots plot-path=${everest-img-path}/plots early=${plot-path}/early.png late=${plot-path}/late.png plots=${early} ${late} # Boukreev boukreev-name=boukreev boukreev-img-path=${everest-img-path}/${boukreev-name} boukreev-guitar=${boukreev-img-path}/${boukreev-name}-guitar.png boukreev-photo=${boukreev-img-path}/${boukreev-name}.png boukreev-imgs=${boukreev-guitar} ${boukreev-photo} everest-imgs=${everest-photo} ${fischer} ${hall} ${hansen} ${harris} ${krakauer} ${norgay} ${pittman} ${weathers} ${plots} ${boukreev-imgs} ### K2 k2-name=k2 k2-img-path=${img-path}/${k2-name} # main amedeo=${k2-img-path}/amedeo.png bonatti=${k2-img-path}/bonatti.png camp-four=${k2-img-path}/camp-four.png desio=${k2-img-path}/desio.png hillary-norgay=${k2-img-path}/hillary-norgay.png k2-north=${k2-img-path}/${k2-name}-north.png k2-photo=${k2-img-path}/${k2-name}.png laps=${k2-img-path}/laps.png mario=${k2-img-path}/mario.png poisk=${k2-img-path}/poisk.png serac=${k2-img-path}/serac.png strang=${k2-img-path}/strang.png trio=${k2-img-path}/trio.png wiessner=${k2-img-path}/wiessner.png zerain=${k2-img-path}/zerain.png k2-main-imgs=${amedeo} ${bonatti} ${camp-four} ${desio} ${hillary-norgay} ${k2-north} ${k2} ${mario} ${poisk} ${serac} ${strang} ${trio} ${wiessner} ${zerain} ### k2 nedslag k2-nedslag-name=nedslag k2-nedslag-img-path=${k2-img-path}/${k2-nedslag-name} wanda=${k2-nedslag-img-path}/wanda.png k2-nedslag-imgs=${wanda} ### k2 SSS k2-sss-name=sss k2-sss-img-path=${k2-img-path}/${k2-sss-name} logan=${k2-sss-img-path}/logan.png k2-sss-imgs=${logan} k2-imgs=${k2-main-imgs} ${k2-nedslag-imgs} ${k2-sss-imgs} ### TAHITI-NUI tahiti-nui-name=tahiti-nui tahiti-nui-img-path=${img-path}/${tahiti-nui-name} bisschop-name=bisschop 5-hommes-sur-un-radeau=${tahiti-nui-img-path}/5-hommes-sur-un-radeau.png bisschop-stamp=${tahiti-nui-img-path}/${bisschop-name}-stamp.png bisschop=${tahiti-nui-img-path}/${bisschop-name}.png brun=${tahiti-nui-img-path}/brun.png bugueno=${tahiti-nui-img-path}/bugueno.png fischer=${tahiti-nui-img-path}/fischer.png pelissier=${tahiti-nui-img-path}/pelissier.png tahiti-nui-1-name=${tahiti-nui-name}-1 tahiti-nui-1-drawing=${tahiti-nui-img-path}/${tahiti-nui-1-name}-drawing.png tahiti-nui-1-far=${tahiti-nui-img-path}/${tahiti-nui-1-name}-far.png tahiti-nui-1-low=${tahiti-nui-img-path}/${tahiti-nui-1-name}-low.png tahiti-nui-1-tall=${tahiti-nui-img-path}/${tahiti-nui-1-name}-tall.png tahiti-nui-imgs=${tahiti-nui-1-tall} ${bisschop} ${brun} ${bugueno} ${tahiti-nui-1-low} ${pelissier} ${fischer} ${bisschop-stamp} ${tahiti-nui-1-drawing} ${tahiti-nui-1-far} ${5-hommes-sur-un-radeau} ### POLARI polaric-name=polaric polaric-img-path=${img-path}/${polaric-name} amundsen-name=amundsen amundsen-scott-base=${polaric-img-path}/${amundsen-name}-scott-base.png amundsen=${polaric-img-path}/${amundsen-name}.png andree=${polaric-img-path}/andree.png ballong=${polaric-img-path}/ballong.png c-vitamin=${polaric-img-path}/c-vitamin.png eagle=${polaric-img-path}/eagle.png fram=${polaric-img-path}/fram.png gondol=${polaric-img-path}/gondol.png ikaros=${polaric-img-path}/ikaros.png john-franklin=${polaric-img-path}/john-franklin.png lc-130=${polaric-img-path}/lc-130.png nansen=${polaric-img-path}/nansen.png oden=${polaric-img-path}/oden.png pemikan=${polaric-img-path}/pemikan.png shackleton=${polaric-img-path}/shackleton.png polaric-imgs=${amundsen-scott-base} ${amundsen} ${andree} ${ballong} ${c-vitamin} ${eagle} ${fram} ${gondol} ${ikaros} ${john-franklin} ${lc-130} ${nansen} ${oden} ${pemikan} ${shackleton} all: ${pdf} ${pdf}: ${tex} ${front-imgs} ${everest-imgs} ${k2-imgs} ${tahiti-nui-imgs} ${polaric-imgs} ${bib} $(texc) $(texf) $< biber -q ${name} $(texc) $(texf) $< > /dev/null 2> /dev/null clean: zsh -c 'rm -f ${name}.(aux|bbl|bcf|blg|idx|log|out|pdf|run.xml)(N)'