diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-05 18:06:15 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-05 18:06:15 -0400 |
commit | e87e3facc185150db9ac87b2704e1d340b8cdb94 (patch) | |
tree | d1b93b73e5a0d3329b9a13ba0311ec20db69e6cc /Makefile | |
parent | af030cc065258ded70876df12c1613a5c59c7b9d (diff) | |
download | bw-atari8-tools-e87e3facc185150db9ac87b2704e1d340b8cdb94.tar.gz |
Makefile: add user-symlinks target (for my own convenience).
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |