Improve Makefile

This commit is contained in:
L3D 2023-04-29 16:14:33 +02:00
parent ba3971c95a
commit 39700b2277
No known key found for this signature in database
GPG key ID: AD65B920933B4B20

View file

@ -56,11 +56,11 @@ deploy:
rm assets/svg/*; \
if python3 -m lektor --version 2>/dev/null; then \
python3 -m lektor build $(LEKTOR_PLUGIN_FLAGS) $(LEKTOR_DEPLOY_FLAGS); \
unix2dos temp/builds/c3woc.de/waffeln.ics
unix2dos temp/builds/c3woc.de/waffeln.ics; \
python3 -m lektor deploy $(LEKTOR_PLUGIN_FLAGS) $(LEKTOR_DEPLOY_FLAGS); \
else \
lektor build $(LEKTOR_PLUGIN_FLAGS) $(LEKTOR_DEPLOY_FLAGS); \
unix2dos temp/builds/c3woc.de/waffeln.ics
unix2dos temp/builds/c3woc.de/waffeln.ics; \
lektor deploy $(LEKTOR_PLUGIN_FLAGS) $(LEKTOR_DEPLOY_FLAGS); \
fi; \
fi