summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-01-25 20:02:56 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-01-25 20:02:56 -0800
commit7002d26ace1efc64f51bd3394b70621802ddb9b3 (patch)
treed567acd82ffffe807208e9a264fa4a60390a8f6f
parent9a1bb60285df1183710bddf7bb22c878ee53a3cf (diff)
downloadtxr-7002d26ace1efc64f51bd3394b70621802ddb9b3.tar.gz
txr-7002d26ace1efc64f51bd3394b70621802ddb9b3.tar.bz2
txr-7002d26ace1efc64f51bd3394b70621802ddb9b3.zip
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.
-rw-r--r--Makefile3
1 files changed, 1 insertions, 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