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
2022-11-25 22:44:41 -05:00

18 lines
450 B
Makefile

###############################################################################
# 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