aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-07-05 18:06:15 -0400
committerB. Watson <urchlay@slackware.uk>2024-07-05 18:06:15 -0400
commite87e3facc185150db9ac87b2704e1d340b8cdb94 (patch)
treed1b93b73e5a0d3329b9a13ba0311ec20db69e6cc /Makefile
parentaf030cc065258ded70876df12c1613a5c59c7b9d (diff)
downloadbw-atari8-tools-e87e3facc185150db9ac87b2704e1d340b8cdb94.tar.gz
Makefile: add user-symlinks target (for my own convenience).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 727f8be..0d1d2da 100644
--- a/Makefile
+++ b/Makefile
@@ -227,3 +227,13 @@ install-subdirs: subdirs
for dir in $(SUBDIRS); do \
make -C $$dir DESTDIR=$(DESTDIR) PREFIX=$(PREFIX) BINDIR=$(BINDIR) MAN1DIR=$(MAN1DIR) GZIP_MAN=$(GZIP_MAN) DOCDIR=$(DOCDIR) install; \
done
+
+user-symlinks: all
+ SRC=$$( pwd ) ; \
+ mkdir -p ~/bin ; \
+ cd ~/bin ; \
+ for i in $(BINS) \
+ ksiders/atrdir ksiders/atrextr ksiders/makeatr ksiders/sortatr ksiders/unmakatr \
+ jindroush/chkrom/chkrom jindroush/chkbas/chkbas jindroush/bas2boot/bas2boot \
+ jindroush/chkexe/chkexe jindroush/adir/adir jindroush/acvt/acvt jindroush/aext/aext \
+ ; do rm -f $$i; ln -s $$SRC/$$i . ; done