From bcac5a93e1a3c5fad8cfaeba66a03eb251e1db1b Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 10 Jan 2019 23:29:06 -0500 Subject: Add cash install and uninstall targets --- bin/cash/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'bin/cash') diff --git a/bin/cash/Makefile b/bin/cash/Makefile index 13c965f2..2442aca9 100644 --- a/bin/cash/Makefile +++ b/bin/cash/Makefile @@ -1,3 +1,6 @@ +PREFIX = /usr/local +MANDIR = $(PREFIX)/share/man + CFLAGS += -std=c99 -Wall -Wextra -DSHELL LDLIBS = -ledit @@ -37,6 +40,8 @@ GENHDRS = builtins.h nodes.h syntax.h token.h SRCS += $(GENSRCS) OBJS = $(SRCS:.c=.o) +MAN1 = cash.1 cash-kill.1 cash-printf.1 cash-test.1 + all: tags cash .depend cash: $(OBJS) @@ -66,3 +71,11 @@ token.h: mktokens clean: rm -f cash $(OBJS) mknodes mksyntax $(GENSRCS) $(GENHDRS) tags .depend + +install: cash $(MAN1) + mkdir -p $(PREFIX)/bin $(MANDIR)/man1 + install cash $(PREFIX)/bin + install -m 644 $(MAN1) $(MANDIR)/man1 + +uninstall: + rm -f $(PREFIX)/bin/cash $(MAN1:%=$(MANDIR)/man1/%) -- cgit 1.4.1 put type='submit' value='switch'/> collaborative ASCII art
about summary refs log tree commit diff homepage
path: root/explore.html (unfollow)
Commit message (Collapse)Author
2020-06-25Use DisableForwarding in sshd_configJune McEnroe
2019-12-19Remove READMEJune McEnroe
2019-12-15Update git URLsJune McEnroe
2019-08-05Add buymeacoffee linkJune McEnroe
Can't hurt, I guess? I don't expect to get anything...
2019-07-27Use braces in MakefileJune McEnroe
2019-07-08Remove NetHack from indexJune McEnroe
2019-04-08Don't install rc.kfcgi eitherJune McEnroe
2019-03-28Remove rc.kfcgiJune McEnroe
I sent a better version of it to the port maintainer and it is now in the ports tree.
2019-01-16Reformat index.html with explore linkJune McEnroe
2019-01-16Return false from keydown handler in exploreJune McEnroe
2019-01-08Draw lines to tile edgeJune McEnroe
2019-01-08Factor out default pathsJune McEnroe
2019-01-08Remove incorrect default coordinatesJune McEnroe
2019-01-07Set img src when explore fragment changesJune McEnroe
2019-01-07Compress PNG data in imageJune McEnroe
kcgi never enables compression for FastCGI.
2019-01-07madvise MADV_NOCORE in imageJune McEnroe
2019-01-07Add license notice to explore JavaScriptJune McEnroe
2019-01-07Add Q/Home binding in exploreJune McEnroe
2019-01-07Fix explore image URLJune McEnroe
2019-01-07Add HOME button, ssh link, AGPL notice to exploreJune McEnroe
2019-01-06Add meta viewport to exploreJune McEnroe
2019-01-06Set background and max-width in exploreJune McEnroe
2019-01-06Swallow writes after the connection is closedJune McEnroe
It was not okay.
2019-01-06Handle KCGI_HUPJune McEnroe
I hope it's okay that I keep writing to the fwopen stream after streamWrite returns -1.
2019-01-06Install html filesJune McEnroe