From 79b8277bd9275924f90e5fd70118612f59ea31cc Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 13 Mar 2018 18:22:12 -0400 Subject: Fixed lexer copying in release builds. --- src/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index 8d1b4820..47d15366 100644 --- a/src/Makefile +++ b/src/Makefile @@ -267,7 +267,7 @@ install: $(install_targets) | ../core ../doc ../init.lua ../lexers ../LICENSE \ ../modules ../themes install -d $(DESTDIR)$(bin_dir) $(DESTDIR)$(data_dir) install $^ $(DESTDIR)$(data_dir) - cp -r $| $(DESTDIR)$(data_dir) + cp -rL $| $(DESTDIR)$(data_dir) ln -s $(subst .., $(data_dir), $^) $(DESTDIR)$(bin_dir) if [ -d "$(XDG_DATA_DIR)" ]; then \ install -d $(DESTDIR)$(XDG_DATA_DIR); \ @@ -332,7 +332,7 @@ release: $(basedir).i386 make -j4 CXXFLAGS="$(CXXFLAGS) -static-libstdc++" \ CURSES_CFLAGS=-I/opt/ncursesw/include/ncursesw \ CURSES_LIBS="-L/opt/ncursesw/lib -lncursesw" curses - cp -r ../doc ../lexers ../textadept* $< && cp *.asc $