aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 44c9cade..cc30e302 100644
--- a/Makefile
+++ b/Makefile
@@ -27,8 +27,13 @@ install:
rsync -a obj/ $(DESTDIR)$(GUILE_CCACHE_DIR)
install -d $(DESTDIR)/usr/share/calp/www
rsync -a static $(DESTDIR)/usr/share/calp/www
- # TODO main, tzget
+ install -m 644 -D -t $(DESTDIR)/usr/share/doc/calp README
+ install -m 755 -D -t $(DESTDIR)/usr/lib/calp/ main
+ install -m 755 -D -t $(DESTDIR)/usr/lib/calp/ tzget
+ install -d $(DESTDIR)/usr/bin
+ ln -s -f /usr/lib/calp/main $(DESTDIR)/usr/bin/calp
@env CACHE_DIR=$(DESTDIR)/var/cache/calp/ ./tzget
+ # TODO zoneinfo files
README: README.in
./main text < README.in | sed "s/<<today>>/`date -I`/" > README