From e87e3facc185150db9ac87b2704e1d340b8cdb94 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 5 Jul 2024 18:06:15 -0400 Subject: Makefile: add user-symlinks target (for my own convenience). --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3