From 0aae05ac4a32c19ea14b512e4ea2ee339d5b096d Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 9 Jul 2020 16:44:39 -0400 Subject: Add configure script and install target --- Makefile | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ce4cdcf..94ca089 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,20 @@ +PREFIX ?= ~/.local +MANDIR ?= ${PREFIX}/share/man + CFLAGS += -std=c11 -Wall -Wextra -Wpedantic -LDLIBS = -lsqlite3 -lkcgi -lkcgihtml -lz +LDLIBS = -lkcgi -lkcgihtml -lsqlite3 + +-include config.mk scooper: + +clean: + rm -f scooper + +install: scooper scooper.1 + install -d ${PREFIX}/bin ${MANDIR}/man1 + install scooper ${PREFIX}/bin + install -m 644 scooper.1 ${MANDIR}/man1 + +uninstall: + rm -f ${PREFIX}/bin/scooper ${MANDIR}/man1/scooper.1 -- cgit 1.4.1 td>
summary refs log tree commit diff
path: root/pdf/.gitignore (unfollow)
Commit message (Expand)Author
2020-06-08Replace __printflike with __attribute__((format(printf, ...)))June McEnroe
2020-06-08Replace __dead2 with __attribute__((noreturn))June McEnroe
2020-06-08Replace __FBSDID macros with commentsJune McEnroe
2020-06-08Remove reference to FreeBSD-specific libedit hackJune McEnroe
2020-06-08Prefix mandoc with exec in about-filterJune McEnroe
2020-06-07Remove mktemp options from mkbuiltins, mktokensJune McEnroe
2020-06-07Cast z_stream fields to size_tJune McEnroe
2020-06-07Call static_assert by _Static_assertJune McEnroe
2020-06-07Add OpenBSD to install.shJune McEnroe
2020-06-03Add The Song of AchillesJune McEnroe
2020-06-01Allow redirecting input in everJune McEnroe
2020-05-31Add %c conversion to c scriptJune McEnroe
2020-05-31Add c script to READMEJune McEnroe
2020-05-31Add c scriptJune McEnroe
2020-05-31Update mdoc source URLsJune McEnroe
2020-05-26Remove unfinished PSF fontsJune McEnroe