From ccbc2c0ed66ed741dc2b9b8d20cebfbba267295e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= <hugo@lysator.liu.se>
Date: Fri, 29 Oct 2021 02:09:34 +0200
Subject: [PATCH] Fix installation paths.

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 0354ed2..d2524bf 100644
--- a/Makefile
+++ b/Makefile
@@ -35,8 +35,8 @@ ${TARGET}: guile-gumbo.o
 install: all
 	mkdir -p $(DESTDIR)$(GUILE_SITE_DIR)
 	mkdir -p $(DESTDIR)$(GUILE_CCACHE_DIR)
-	cp -a --no-preserve=ownership scm $(DESTDIR)$(GUILE_SITE_DIR)
-	cp -a --no-preserve=ownership ccache $(DESTDIR)$(GUILE_CCACHE_DIR)
+	cp -ra --no-preserve=ownership scm/* $(DESTDIR)$(GUILE_SITE_DIR)
+	cp -ra --no-preserve=ownership ccache/* $(DESTDIR)$(GUILE_CCACHE_DIR)
 	install -Dt ${DESTDIR}/usr/lib/ libguile-gumbo.so
 
 check: all
-- 
GitLab