Last active
December 23, 2015 13:09
-
-
Save hyperking/6640548 to your computer and use it in GitHub Desktop.
Pelican Make file for multiple site generations using one command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROJECTSITE=$(DROPBOX_DIR)/WEBSITE/PROJECT_site | |
PROJECTSTORE=$(DROPBOX_DIR)/WEBSITE/PROJECT_store | |
PROJECTSITE_OUTPUT=$(BASEDIR)/output/PROJECTsite | |
PROJECTSTORE_OUTPUT=$(BASEDIR)/output/PROJECTstore | |
SITECONFFILE=$(BASEDIR)/projectconf.py | |
STORECONFFILE=$(BASEDIR)/projectstoreconf.py | |
generate_site: | |
$(PELICAN) $(PROJECTSITE) -o $(PROJECTSITE_OUTPUT) -s $(SITECONFFILE) | |
generate_store: | |
$(PELICAN) $(PROJECTSTORE) -o $(PROJECTSTORE_OUTPUT) -s $(STORECONFFILE) | |
html: generate_site generate_store | |
@echo "complete!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment