chore: extend Makefile
This commit is contained in:
4
Makefile
4
Makefile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user