From 33f2a7fa705004d7cf29584ce34d8689d13e3f06 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 18 Apr 2022 15:27:26 +0200 Subject: [PATCH] Only remove the tmp-ly folder at the clean target. Without that, parallel building of songs fails. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1a7a4c4..35539af 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,6 @@ LY_OPUS=$(patsubst %.ly,${BUILD_OPUS_DIR}/%.opus,$(notdir ${LY_FILES})) ${TMP_SONG_DIR}/%.pdf: ${SONG_DIR}/%.ly ${SONG_DIR}/%.tex | ${TMP_SONG_DIR}.dir cd ${SRC_DIR} && lualatex --jobname='$(notdir $(basename $@))' --output-directory=${WORKING_DIR}/${TMP_SONG_DIR} --shell-escape ${WORKING_DIR}/${SRC_DIR}/song.tex ${WORKING_DIR}/${SONG_DIR}/$(notdir $(basename $@)).ly ${WORKING_DIR}/${SONG_DIR}/$(notdir $(basename $@)).tex - rm -r ${SRC_DIR}/tmp-ly ${BUILD_MIDI_DIR}/%.midi: ${TMP_MIDI_DIR}/%-1.midi | ${BUILD_MIDI_DIR}.dir cp $< $@ @@ -73,3 +72,4 @@ all: book songs midi opus clean: rm -rf ${BUILD_DIR} rm -rf ${TMP_DIR} + rm -r ${SRC_DIR}/tmp-ly