diff --git a/Makefile b/Makefile index 13ff33c..23a1537 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,9 @@ INSTALL_PATH = /var/www/html/ update_config : var/config.php cp var/config.php $(INSTALL_PATH)/var/config.php +update_dir : + cp -r dir $(INSTALL_PATH) + install: var/config.php @echo "Installing to $(INSTALL_PATH)" @echo "Everything there will be deleted" diff --git a/README.md b/README.md index dfba989..d6fc13f 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,13 @@ After you are done setting up your configuration file, run: make install ``` -This will install the website and should now be accessible. If at any time you wish to update the config file, edit the config file in this folder, then run +This will install the website and should now be accessible. If at any time you wish to update the config file, edit the config file in this folder, then run: ```bash make update_config ``` + +If you would like to update the dir folder with new symlinks that you have added, you can do so automatically by running: +```bash +make update_dir +```