From 1ba633898340b2abf04b3ffdb4f3790118e85677 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 25 Jan 2019 20:02:56 -0800 Subject: install: broken when using separate build dir. * Makefile (install): Drop the $(top_srcdir) prefix from share/txr/stdlib materials. This fails for the .tlo files which are only found in the build directory, not the source directory. The .txr and .tl files are found in both, thanks to symlinks; for those it works either way. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a67e1294..01d8dd7b 100644 --- a/Makefile +++ b/Makefile @@ -493,8 +493,7 @@ install: $(PROG) $(call INSTALL,0444,$(top_srcdir)METALICENSE,$(DESTDIR)$(datadir)) $(call INSTALL,0444,$(top_srcdir)txr.1,$(DESTDIR)$(mandir)/man1) $(call INSTALL,0444,\ - $(addprefix $(top_srcdir)share/txr/stdlib/,\ - *.txr *.tl *.tlo),\ + $(addprefix share/txr/stdlib/,*.txr *.tl *.tlo),\ $(DESTDIR)$(datadir)/stdlib) .PHONY: unixtar gnutar zip -- cgit v1.2.3