tadd uninstall makefile target - canteen-info - scrape weekly menus from canteens surrounding Aarhus University
(HTM) git clone git://src.adamsgaard.dk/canteen-info
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 81a211858123b246f5ad0b5ebb0669dd69ba67ad
(DIR) parent b3078e57058aafc4cf1b2f4227b81b3f363bd616
(HTM) 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(-)
---
(DIR) 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)
(DIR) diff --git a/README.md b/README.md
t@@ -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).