From b19fda7a666dc4d339b7df60e080b59fca012a33 Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 14 Nov 2021 04:27:11 +0000 Subject: Makefile got some new things added to the install and build requirements --- .gitignore | 1 + Makefile | 4 +++- uristart.conf | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 uristart.conf diff --git a/.gitignore b/.gitignore index e76a1a0..c865b28 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ uricmp uricut uriescape urimatch +urigetline uriunescape urijoin shorten diff --git a/Makefile b/Makefile index 090e2c0..5d74d6c 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CFLAGS:=-std=c11 -pedantic -Wall PREFIX:=/usr/local CC:=gcc -all: urimatch uricut urijoin uricmp uriunescape uriescape shorten +all: urimatch uricut urijoin uricmp uriunescape uriescape shorten urimatchpairs urigetline shorten: LDLIBS=-lcrypto shorten: shorten.c @@ -24,6 +24,8 @@ clean: rm -f *.o install: all + install -t $(PREFIX)/bin urimatchpairs + install -t $(PREFIX)/bin uristart.conf install -t $(PREFIX)/bin sqesc install -t $(PREFIX)/bin ssh_hack install -t $(PREFIX)/bin xwindowURI diff --git a/uristart.conf b/uristart.conf new file mode 100755 index 0000000..3d9ea7d --- /dev/null +++ b/uristart.conf @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +exec cat "${XDG_CONFIG_HOME:-$HOME/.config}"/uristart.conf -- cgit v1.2.3