Replace cp --parent with -P for macOS
This commit is contained in:
parent
0085cc04fa
commit
a2d7a9c03d
2
Makefile
2
Makefile
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue