2019-05-27 07:33:03 +00:00
|
|
|
SHELL := /bin/bash
|
|
|
|
|
2019-05-27 07:27:17 +00:00
|
|
|
BASEDIR=$(CURDIR)
|
|
|
|
PLUGINDIR=$(BASEDIR)/plugins
|
|
|
|
PELICANDIR=$(BASEDIR)/pelican
|
|
|
|
|
|
|
|
help:
|
|
|
|
@echo 'Makefile for installing and updating the c0de.dev blog '
|
|
|
|
@echo ' '
|
|
|
|
@echo 'Usage: '
|
|
|
|
@echo ' make install Installs all components '
|
|
|
|
@echo ' make uninstall Uninstalls all components, leaving the source dir '
|
|
|
|
@echo ' make update Replaces existing components that have changed '
|
|
|
|
@echo ' make plugins Creates symlinks of newly added plugins in pelican '
|
|
|
|
@echo ' '
|
|
|
|
|
|
|
|
install:
|
|
|
|
@echo 'noop'
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
@echo 'noop'
|
|
|
|
|
|
|
|
update:
|
|
|
|
@echo 'noop'
|
2019-05-27 07:32:02 +00:00
|
|
|
@git submodule update --recursive --remote
|
|
|
|
@pip install -r requirements.txt
|
|
|
|
plugins
|
2019-05-27 07:27:17 +00:00
|
|
|
|
|
|
|
plugins:
|
|
|
|
@echo 'Creating symlinks for plugins'
|
|
|
|
@echo 'noop'
|