summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-01-28 05:47:13 -0500
committerJune McEnroe <june@causal.agency>2018-01-28 05:47:13 -0500
commitd5ffbbf5d139d8499732bf42fdd627a7953651e8 (patch)
tree17dc581e4c0f1e88262d2e6b08af1f859a2b7214 /bin
parentOnly set title in ~xterm (diff)
downloadsrc-d5ffbbf5d139d8499732bf42fdd627a7953651e8.tar.gz
src-d5ffbbf5d139d8499732bf42fdd627a7953651e8.zip
Add portable bins target
Diffstat (limited to '')
-rw-r--r--bin/.gitignore8
-rw-r--r--bin/Makefile7
2 files changed, 9 insertions, 6 deletions
diff --git a/bin/.gitignore b/bin/.gitignore
index 4b8dd9b2..a9bc170e 100644
--- a/bin/.gitignore
+++ b/bin/.gitignore
@@ -2,12 +2,12 @@ atch
 bri
 dtch
 hnel
-jrp
-klon
 pbcopy
 pbd
 pbpaste
-typo
 wake
-watch
 xx
+jrp
+klon
+typo
+watch
diff --git a/bin/Makefile b/bin/Makefile
index a304c4cd..7c4f2c8d 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -1,9 +1,12 @@
-BINS = atch bri dtch hnel jrp klon pbcopy pbd pbpaste typo wake watch xx
+PINS = atch bri dtch hnel pbcopy pbd pbpaste wake xx
+BINS = $(PINS) jrp klon typo watch
 CFLAGS += -Wall -Wextra -Wpedantic
 LDLIBS = -lcurses -ledit -lutil
 
 all: $(BINS) .gitignore
 
+portable: $(PINS) .gitignore
+
 atch: dtch
 	ln -f dtch atch
 
@@ -13,7 +16,7 @@ pbcopy pbpaste: pbd
 clean:
 	rm -f $(BINS)
 
-link: $(BINS)
+link:
 	ln -s -f $(BINS:%=$(PWD)/%) ~/.bin
 
 unlink: