commit 81a211858123b246f5ad0b5ebb0669dd69ba67ad parent b3078e57058aafc4cf1b2f4227b81b3f363bd616 Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Thu, 19 Feb 2015 12:55:06 +0100 add uninstall makefile target Diffstat:
M | Makefile | | | 11 | ++++++++++- |
M | README.md | | | 4 | ++++ |
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -1,4 +1,13 @@ installdir=/usr/local/bin install: - cp canteeninfo matkant navitas statsbiblioteket $(installdir) + install canteeninfo $(installdir) + install matkant $(installdir) + install navitas $(installdir) + install statsbiblioteket $(installdir) + +uninstall: + $(RM) canteeninfo $(installdir) + $(RM) matkant $(installdir) + $(RM) navitas $(installdir) + $(RM) statsbiblioteket $(installdir) diff --git a/README.md b/README.md @@ -25,5 +25,9 @@ recommended to automatically regenerate the page with a cron job, (``crontab 30 * * * * canteeninfo && scp canteeninfo.html adc@fh.cs.au.dk:~/public_html_cs/files > ~/.canteeninfo.log +To uninstall run: + + $ sudo make uninstall + Author: [Anders Damsgaard](mailto:andersd@riseup.net), maintained on [Github](https://github.com/anders-dc/canteen-info).