30 lines
1.6 KiB
Makefile
30 lines
1.6 KiB
Makefile
RAW_IMAGES_ROOT?=/home/graffy/work/lipase/raw-images
|
|
lipase.pdf: lipase.tex graphics
|
|
pdflatex lipase.tex
|
|
|
|
# command used to convert traps sequences in the visible into png with maximum contrast
|
|
TRAPS_VISIBLE_CONVERTER=convert -contrast-stretch 2%x1% -resize 25%
|
|
|
|
GENERATED_GRAPHICS=\
|
|
graphics/res_soleil2018_GGH_GGH_2018_cin2_phiG_I_327_vis_-40_1_Pos0_img_000000000_DM300_nofilter_vis_000.png \
|
|
graphics/res_soleil2018_GGH_GGH_2018_cin2_phiG_I_327_vis_-40_1_Pos0_img_000000019_DM300_nofilter_vis_000.png \
|
|
graphics/res_soleil2018_GGH_GGH_2018_cin2_phiG_I_327_vis_-40_1_Pos0_img_000000039_DM300_nofilter_vis_000.png
|
|
|
|
.PHONY: graphics
|
|
graphics: $(GENERATED_GRAPHICS)
|
|
|
|
graphics/res_soleil2018_GGH_GGH_2018_cin2_phiG_I_327_vis_-40_1_Pos0_img_000000000_DM300_nofilter_vis_000.png : $(RAW_IMAGES_ROOT)/res_soleil2018/GGH/GGH_2018_cin2_phiG_I_327_vis_-40_1/Pos0/img_000000000_DM300_nofilter_vis_000.tif
|
|
$(TRAPS_VISIBLE_CONVERTER) "$<" "$@"
|
|
|
|
graphics/res_soleil2018_GGH_GGH_2018_cin2_phiG_I_327_vis_-40_1_Pos0_img_000000019_DM300_nofilter_vis_000.png : $(RAW_IMAGES_ROOT)/res_soleil2018/GGH/GGH_2018_cin2_phiG_I_327_vis_-40_1/Pos0/img_000000019_DM300_nofilter_vis_000.tif
|
|
$(TRAPS_VISIBLE_CONVERTER) "$<" "$@"
|
|
|
|
|
|
graphics/res_soleil2018_GGH_GGH_2018_cin2_phiG_I_327_vis_-40_1_Pos0_img_000000039_DM300_nofilter_vis_000.png : $(RAW_IMAGES_ROOT)/res_soleil2018/GGH/GGH_2018_cin2_phiG_I_327_vis_-40_1/Pos0/img_000000039_DM300_nofilter_vis_000.tif
|
|
$(TRAPS_VISIBLE_CONVERTER) "$<" "$@"
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f $(GENERATED_GRAPHICS)
|
|
rm -f lipase.pdf lipase.aux lipase.fls lipase.log lipase.fdb_latexmk lipase.dvi;
|