Files

copied
Last update 5 years 9 months by Noelia Scotti
FilesPCBFSLCIAA_K60docmodificaciones
..
Makefile
cambios_CEIBO_1_0.pdf
cambios_CEIBO_1_0.txt
cambios_CIAA-NXP.pdf
cambios_CIAA-NXP.txt
Makefile
#!/usr/bin/make # Copyright (C) 2014 INTI - Instituto Nacional de Tecnologa Industrial # Copyright(C) 2014 Diego Javier Brengi # Construye htmls y pdfs a partir de .txt que usan Markdown TXT = $(wildcard *.txt) PDF = $(subst txt,pdf, $(TXT)) HTML = $(subst txt,html, $(TXT)) LPDF = $(subst txt,L.pdf, $(TXT)) PPDF = $(subst txt,P.pdf, $(TXT)) %.html: %.txt markdown $< > $@ %.pdf: %.html wkhtmltopdf $< $@ %.P.pdf: %.html xhtml2pdf --encoding=latin1 $< $@ %.L.pdf: %.pdf gs -sDEVICE=pdfwrite -dPDFSETTINGS=/screen -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=$@ $< info: echo "Targets: pdf ppdf lpdf html clean" pdf: $(PDF) lpdf: $(LPDF) ppdf: $(PPDF) html: $(HTML) clean: -rm -f $(PDF) $(LPDF) $(HTML) $(PPDF)
Report a bug