aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbie <bie@blekksprut.net>2016-11-11 03:08:38 +0900
committerbie <bie@blekksprut.net>2016-11-11 03:08:38 +0900
commita8b20f35ee908d466ebef67da5671e51567fb19c (patch)
tree8117339e82a402ae8b4954a3fe211fabc5f28a50 /Makefile
parent06947f5d86f9d0026f75005aa2510cba0800072e (diff)
downloadukulele-a8b20f35ee908d466ebef67da5671e51567fb19c.tar.xz
make install; wiki.css -> ukulele.css; wiki.js -> ukulele.js
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 052f049..34496e2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,7 @@
+TARGET ?= /srv/www/ukulele.cgi
+CSSTARGET ?= /srv/www/ukulele.css
+JSTARGET ?= /srv/www/ukulele.js
+
all: ukulele.cgi
ukulele.cgi: config.h ukulele.c
@@ -9,4 +13,10 @@ config.h:
clean:
rm -f ukulele.cgi
+install: ukulele.cgi
+ install ukulele.cgi ${TARGET}
+ install ukulele.css ${CSSTARGET}
+ install ukulele.js ${JSTARGET}
+
again: clean all
+