From c0a2300b52c682975fbe365de21547db71d18a38 Mon Sep 17 00:00:00 2001 From: Andinus Date: Wed, 13 Jan 2021 11:29:00 +0530 Subject: Port leo to Raku This is a huge change. I had some more ideas in mind but I won't be able to work on them. leo's raku version can be improved. I'm personally using the Raku version because the rotate feature is nice. --- Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7030f2e..2765ac3 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ PREFIX?=/usr/local INSTALL?=install INSTALL_PROGRAM=$(INSTALL) -Dm 755 -INSTALL_DATA=$(INSTALL) -Dm 644 +INSTALL_DATA=install -Dm 644 bindir=$(DESTDIR)$(PREFIX)/bin sharedir=$(DESTDIR)$(PREFIX)/share @@ -24,13 +24,14 @@ help: | sed -n 's/^\(.*\): \(.*\)#\(.*\)/ \1|-\3/p' \ | column -t -s '|' -install: leo.pl leo.1 share/leo.conf README # system install - $(INSTALL_PROGRAM) leo.pl $(bindir)/leo +install: leo.raku share/leo.1 share/leo.toml README README.org # system install + $(INSTALL_PROGRAM) leo.raku $(bindir)/leo - $(INSTALL_DATA) leo.1 $(mandir)/man1/leo.1 - $(INSTALL_DATA) share/leo.conf $(sharedir)/leo/leo.conf - $(INSTALL_DATA) README $(sharedir)/doc/leo/README + $(INSTALL_DATA) share/leo.1 $(mandir)/man1/leo.1 + $(INSTALL_DATA) share/leo.toml $(sharedir)/leo/leo.toml + $(INSTALL_DATA) README $(sharedir)/doc/leo/README + $(INSTALL_DATA) README.org $(sharedir)/doc/leo/README.org uninstall: # system uninstall rm -f $(bindir)/leo -- cgit 1.4.1-2-gfad0