modificar makefile para actualizarlo

This commit is contained in:
Victorhck 2022-12-13 17:37:01 +01:00
parent c37437413f
commit 4defc7767a

View File

@ -28,11 +28,11 @@ pdf: $(BUILD)/pdf/$(BOOKNAME).pdf
$(BUILD)/epub/$(BOOKNAME).epub: $(TITLE) $(CHAPTERS) $(METADATA_YAML) $(BUILD)/epub/$(BOOKNAME).epub: $(TITLE) $(CHAPTERS) $(METADATA_YAML)
mkdir -p $(BUILD)/epub mkdir -p $(BUILD)/epub
pandoc -s $(TOC) --chapters --number-offset=0 -S --epub-metadata=$(METADATA_XML) --epub-cover-image=$(COVER_IMAGE) -o $@ $^ pandoc -s $(TOC) --top-level-division --number-offset=0 -S --epub-metadata=$(METADATA_XML) --epub-cover-image=$(COVER_IMAGE) -o $@ $^
$(BUILD)/html/$(BOOKNAME).html: $(CHAPTERS) $(METADATA_YAML) $(BUILD)/html/$(BOOKNAME).html: $(CHAPTERS) $(METADATA_YAML)
mkdir -p $(BUILD)/html mkdir -p $(BUILD)/html
pandoc -s $(TOC) --chapters --number-offset=0 --standalone --to=html5 --css=css/$(BOOKNAME).css -o $@ $^ pandoc -s $(TOC) --top-level-division --number-offset=0 --standalone --to=html5 --css=css/$(BOOKNAME).css -o $@ $^
$(BUILD)/html/fonts/%: fonts/% $(BUILD)/html/fonts/%: fonts/%
mkdir -p $(BUILD)/html/fonts mkdir -p $(BUILD)/html/fonts