summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-05 11:51:30 -0400
committerJune McEnroe <june@causal.agency>2020-04-05 11:51:30 -0400
commitb325846f8d12fc00275863c63a153064b0a2b4fd (patch)
tree09eeadee9917eb28aa09dc123e079a635c36155b
parentLog bans and unbans (diff)
downloadlitterbox-b325846f8d12fc00275863c63a153064b0a2b4fd.tar.gz
litterbox-b325846f8d12fc00275863c63a153064b0a2b4fd.zip
Only set RCS on FreeBSD
-rw-r--r--Makefile2
-rwxr-xr-xconfigure6
2 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ed2dbdd..c2aacd3 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ LDLIBS_litterbox = -ltls
 
 BINS = litterbox scoop unscoop
 MANS = ${BINS:=.1}
-RCS  = rc.d/litterbox
+RCS  =
 
 -include config.mk
 
diff --git a/configure b/configure
index 0b5f212..0cd0bf5 100755
--- a/configure
+++ b/configure
@@ -14,14 +14,12 @@ case "$(uname)" in
 		CFLAGS += -I${prefix}/include
 		CFLAGS += -D'SQLITE3_BIN="${prefix}/bin/sqlite3"'
 		LDFLAGS += -L${prefix}/lib
+		RCS = rc.d/litterbox
 		EOF
 		exit
 		;;
 	(Linux)
-		cat <<-EOF
-		CFLAGS += -D_GNU_SOURCE
-		RCS =
-		EOF
+		echo 'CFLAGS += -D_GNU_SOURCE'
 		;;
 esac
 
span>Add git comment --pretty optionJune McEnroe 2021-09-08Defer printing comment if line is blank or closing braceJune McEnroe 2021-09-08Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroe