1
Fork 0

remove makefile

This commit is contained in:
Jake Howard 2017-01-13 23:37:00 +00:00
parent b6a0e828d2
commit e13a6e1d4f
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,20 +0,0 @@
BASEDIR=$(PWD)
ENV=$(BASEDIR)/env/bin
NODE_BIN=node_modules/.bin
PELICAN=$(ENV)/pelican
OUTPUTDIR=$(BASEDIR)/output
PLUGINS_DIR=$(BASEDIR)/pelican_plugins
DEPLOY_DIR=$(BASEDIR)/deploy
CONFIG_FILE=$(BASEDIR)/pelicanconf.py
build: install
rm -rf $(OUTPUTDIR)/*
@echo ">> Building pelican..."
$(PELICAN) -o $(OUTPUTDIR) -vs $(CONFIG_FILE)
mv $(OUTPUTDIR)/assets/robots.txt $(OUTPUTDIR)
cp -R $(OUTPUTDIR)/assets/* $(OUTPUTDIR)/static
rm -rf $(OUTPUTDIR)/assets
install: env node_modules