This repository has been archived on 2023-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
site/Makefile

18 lines
450 B
Makefile
Raw Permalink Normal View History

2022-11-26 03:44:41 +00:00
###############################################################################
# Tyler Perkins
# 20-5-21
# Makefile/installer
#
INSTALL_PATH = /var/www/html/
POST_PATH = ./src/posts/
install :
@echo "Installing to $(INSTALL_PATH)"
@echo "Syncing contents using rsync..."
rsync -auv src/* $(INSTALL_PATH) --delete
new_post :
@echo "Making new post! You'll have to install after you're done making it"
cp template.php $(POST_PATH)/newpost.php