CTF="7.3" CTP="7.3" #DATA=`date +%d/%m/%Y` all: @echo "uso: make [cfol|cpub|tudo]" tudo: make cfol cpub cfol: make go TR="CF" V=$(CTF) cpub: make go TR="CP" V=$(CTP) go: cp ../bosques/Bosque_$(TR)_$(V)_ad.txt Bosque_$(TR)_$(V)_ad.txt cp ../metadados/descEtiquetas.txt . perl validar_bosque.pl Bosque_$(TR)_$(V)_ad.txt > Bugs$(TR).txt cat Bugs$(TR).txt >> estatisticas.txt mv estatisticas.txt Bugs$(TR)_$(V).txt perl ordenar.pl Bugs$(TR)_$(V).txt > ordtipo.tmp perl tohtml_simple.pl Bugs$(TR)_$(V).txt > Bugs$(TR)_$(V)_ordlinha.html perl tohtml_simple.pl ordtipo.tmp > Bugs$(TR)_$(V)_ordtipo.html getcf: gunzip -c ../bosques/Bosque_CF_$(CTF)_ad.txt.gz > Bosque_CF_$(CTF)_ad.visl.txt getcp: gunzip -c ../bosques/Bosque_CP_$(CTP)_ad.txt.gz > Bosque_CP_$(CTP)_ad.txt clean: rm -f *.tmp Bosq* *~ Bugs* estatisticas.txt html: @echo ""