From a2d7a9c03d17bdfc1a85e201e686c7d0dc994029 Mon Sep 17 00:00:00 2001 From: Jerry Jacobs Date: Fri, 16 Sep 2022 16:31:21 +0200 Subject: [PATCH] Replace cp --parent with -P for macOS --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5c3996b..bee897e 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,7 @@ $(BUILD)/epub/$(OUTPUT_FILENAME).epub: $(EPUB_DEPENDENCIES) $(BUILD)/html/$(OUTPUT_FILENAME).html: $(HTML_DEPENDENCIES) mkdir -p $(BUILD)/html $(CONTENT) | $(CONTENT_FILTERS) | $(PANDOC_COMMAND) $(ARGS) $(HTML_ARGS) -o $@ - cp --parent $(IMAGES) $(BUILD)/html/ + cp -P $(IMAGES) $(BUILD)/html/ @echo "$@ was built" $(BUILD)/pdf/$(OUTPUT_FILENAME).pdf: $(PDF_DEPENDENCIES)