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