diff options
Diffstat (limited to 'cad/magic/files/patch-commands__Makefile')
-rw-r--r-- | cad/magic/files/patch-commands__Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cad/magic/files/patch-commands__Makefile b/cad/magic/files/patch-commands__Makefile index 249bf5d8ca65..f2b2c442d7e9 100644 --- a/cad/magic/files/patch-commands__Makefile +++ b/cad/magic/files/patch-commands__Makefile @@ -1,15 +1,14 @@ ---- commands/Makefile.orig 2020-04-08 15:45:13 UTC +--- commands/Makefile.orig 2025-07-30 06:00:02 UTC +++ commands/Makefile -@@ -10,12 +10,7 @@ SRCS = CmdSubrs.c CmdAB.c CmdCD.c CmdE.c CmdFI.c +@@ -10,11 +10,7 @@ SRCS = CmdSubrs.c CmdAB.c CmdCD.c CmdE.c CmdFI.c # Force the module to regenerate the symbolic link in the readline # directory, as it may be needed by CmdFI.c (in the non-Tcl compile) -module: ${MAGICDIR}/readline/readline lib${MODULE}.o - +-# Delegate this task to the readline/Makefile -${MAGICDIR}/readline/readline: -- @if ( ! test -f ${MAGICDIR}/readline/readline ) ; then \ -- (cd ${MAGICDIR}/readline; ln -s `ls | grep readline` readline) ; \ -- fi +- ${MAKE} -C ${MAGICDIR}/readline readline-create-symlinks +module: lib${MODULE}.o include ${MAGICDIR}/defs.mak |