我是非常新的make。我有一個生成三個乳膠文件的perl腳本。我想創建一個makefile來執行perl腳本,然後在新生成的tex文件上運行lualatex。到目前爲止,我有以下幾點: make:
perl diff.pl
pdf:
make
$(eval LIST := $(shell ls *.tex))
lualatex $(LIST).tex
我已經修改了這個片段將它升級到SHA-256: https://unix.stackexchange.com/questions/28994/how-can-a-makefile-detect-whether-a-command-is-available-in-the-local-machine determine_sum = \
sum=; \
for x in sha256