Skip to content

Commit c9dd823

Browse files
committed
Fix symlink updates when switching configurations
Add src/lsdiff and src/grepdiff to bin_PROGRAMS so that make will correctly create/update the symlinks when switching between traditional and scanner-patchfilter configurations. Previously, after reconfiguring between implementations, running 'make' would not update the symlinks, leaving them pointing to the wrong target. Assisted-by: Claude Code
1 parent 6710e06 commit c9dd823

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ DISTCLEANFILES = src/stamp-h[0-9]* src/config.h
55

66
bin_PROGRAMS = src/interdiff src/filterdiff src/rediff
77

8-
# lsdiff is provided by symlink to filterdiff (unless scanner-patchfilter is enabled)
8+
# lsdiff and grepdiff are provided by symlinks
9+
bin_PROGRAMS += src/lsdiff src/grepdiff
910

1011
# Scanner-based unified patchfilter tool (experimental)
1112
if USE_SCANNER_PATCHFILTER

0 commit comments

Comments
 (0)