c0de.dev-blog/Makefile

26 lines
1.0 KiB
Makefile
Raw Permalink Normal View History

2019-05-27 07:33:03 +00:00
SHELL := /bin/bash
2019-05-27 07:27:17 +00:00
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 ' '
install:
2019-05-27 21:14:17 +00:00
@echo 'Installing pelican dependancies'
2019-05-27 07:36:00 +00:00
@virtualenv venv
@source venv/bin/activate
@pip install -r requirements.txt
2019-05-27 07:27:17 +00:00
uninstall:
@echo 'noop'
update:
2019-05-27 21:14:17 +00:00
@echo 'Updating your pelican install'
2019-05-27 07:32:02 +00:00
@git submodule update --recursive --remote
2019-05-27 07:36:00 +00:00
@source venv/bin/activate
2019-05-27 07:32:02 +00:00
@pip install -r requirements.txt