chore: extend Makefile
This commit is contained in:
4
Makefile
4
Makefile
@@ -34,6 +34,7 @@ dist:
|
||||
|
||||
clean:
|
||||
@echo 'Cleaning output'
|
||||
@cd '$(PROJDIR)' && rm -rf "$$(lektor project-info --output-path)/.lektor/buildstate"*
|
||||
@cd '$(PROJDIR)' && lektor clean --yes -v
|
||||
|
||||
plugins:
|
||||
@@ -47,6 +48,9 @@ clean-all: clean plugins
|
||||
server:
|
||||
@cd '$(PROJDIR)' && lektor server # -f ENABLE_PDF_EXPORT
|
||||
|
||||
server-v:
|
||||
@cd '$(PROJDIR)' && lektor server -v
|
||||
|
||||
build: dist
|
||||
@cd '$(PROJDIR)' && \
|
||||
lektor build --output-path ../bin --buildstate-path ../build-state -f ENABLE_PDF_EXPORT
|
||||
|
||||
Reference in New Issue
Block a user