chore: extend Makefile

This commit is contained in:
relikd
2022-12-22 01:22:11 +01:00
parent f7be319a9c
commit 12b097e24f

View File

@@ -34,6 +34,7 @@ dist:
clean: clean:
@echo 'Cleaning output' @echo 'Cleaning output'
@cd '$(PROJDIR)' && rm -rf "$$(lektor project-info --output-path)/.lektor/buildstate"*
@cd '$(PROJDIR)' && lektor clean --yes -v @cd '$(PROJDIR)' && lektor clean --yes -v
plugins: plugins:
@@ -47,6 +48,9 @@ clean-all: clean plugins
server: server:
@cd '$(PROJDIR)' && lektor server # -f ENABLE_PDF_EXPORT @cd '$(PROJDIR)' && lektor server # -f ENABLE_PDF_EXPORT
server-v:
@cd '$(PROJDIR)' && lektor server -v
build: dist build: dist
@cd '$(PROJDIR)' && \ @cd '$(PROJDIR)' && \
lektor build --output-path ../bin --buildstate-path ../build-state -f ENABLE_PDF_EXPORT lektor build --output-path ../bin --buildstate-path ../build-state -f ENABLE_PDF_EXPORT