Replace cp --parent with -P for macOS

This commit is contained in:
Jerry Jacobs 2022-09-16 16:31:21 +02:00
parent 0085cc04fa
commit a2d7a9c03d
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ $(BUILD)/epub/$(OUTPUT_FILENAME).epub: $(EPUB_DEPENDENCIES)
$(BUILD)/html/$(OUTPUT_FILENAME).html: $(HTML_DEPENDENCIES) $(BUILD)/html/$(OUTPUT_FILENAME).html: $(HTML_DEPENDENCIES)
mkdir -p $(BUILD)/html mkdir -p $(BUILD)/html
$(CONTENT) | $(CONTENT_FILTERS) | $(PANDOC_COMMAND) $(ARGS) $(HTML_ARGS) -o $@ $(CONTENT) | $(CONTENT_FILTERS) | $(PANDOC_COMMAND) $(ARGS) $(HTML_ARGS) -o $@
cp --parent $(IMAGES) $(BUILD)/html/ cp -P $(IMAGES) $(BUILD)/html/
@echo "$@ was built" @echo "$@ was built"
$(BUILD)/pdf/$(OUTPUT_FILENAME).pdf: $(PDF_DEPENDENCIES) $(BUILD)/pdf/$(OUTPUT_FILENAME).pdf: $(PDF_DEPENDENCIES)