summaryrefslogtreecommitdiffstats
path: root/Makefile
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
commit1ba633898340b2abf04b3ffdb4f3790118e85677 (patch)
treed567acd82ffffe807208e9a264fa4a60390a8f6f /Makefile
parent86cbd44a9b356ffe325887064e93363f8bec1b44 (diff)
downloadtxr-1ba633898340b2abf04b3ffdb4f3790118e85677.tar.gz
txr-1ba633898340b2abf04b3ffdb4f3790118e85677.tar.bz2
txr-1ba633898340b2abf04b3ffdb4f3790118e85677.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.
Diffstat (limited to 'Makefile')
-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