aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorepoch <epoch@enzo.thebackupbox.net>2021-11-14 04:27:11 +0000
committerepoch <epoch@enzo.thebackupbox.net>2021-11-14 04:27:11 +0000
commitb19fda7a666dc4d339b7df60e080b59fca012a33 (patch)
tree0e392dc45f15cd9c58a68f3f21c2d16a7d96629c
parenta0ef1e229f20ea97d5538c8c4a8f1b6045af0c0c (diff)
downloaduritools-b19fda7a666dc4d339b7df60e080b59fca012a33.tar.gz
uritools-b19fda7a666dc4d339b7df60e080b59fca012a33.zip
Makefile got some new things added to the install and build requirements
-rw-r--r--.gitignore1
-rw-r--r--Makefile4
-rwxr-xr-xuristart.conf2
3 files changed, 6 insertions, 1 deletions
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