tadd uninstall makefile target - canteen-info - scrape weekly menus from cantee… | |
git clone git://src.adamsgaard.dk/canteen-info | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 81a211858123b246f5ad0b5ebb0669dd69ba67ad | |
parent b3078e57058aafc4cf1b2f4227b81b3f363bd616 | |
Author: Anders Damsgaard <[email protected]> | |
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 | |
t@@ -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 | |
t@@ -25,5 +25,9 @@ recommended to automatically regenerate the page with a cron… | |
30 * * * * canteeninfo && scp canteeninfo.html [email protected]:~/publi… | |
+To uninstall run: | |
+ | |
+ $ sudo make uninstall | |
+ | |
Author: [Anders Damsgaard](mailto:[email protected]), maintained on | |
[Github](https://github.com/anders-dc/canteen-info). |