From: Antonio Ospite <ao2@ao2.it>
Date: Sat, 10 Dec 2016 20:57:38 +0000 (+0100)
Subject: Makefile: fix installation after the code restructuring
X-Git-Tag: v1.0.0~4
X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/26c0c241140cf859141313bca3758fa52da8a8ca

Makefile: fix installation after the code restructuring
---

diff --git a/Makefile b/Makefile
index 4625aa8..7937d41 100644
--- a/Makefile
+++ b/Makefile
@@ -21,9 +21,10 @@ installdocs: docs
 
 install: installdocs
 	install -d $(DESTDIR)$(TWEEPER_DIR)
-	install -m644 *.xsl $(DESTDIR)$(TWEEPER_DIR)
 	install -m644 *.php $(DESTDIR)$(TWEEPER_DIR)
 	install -m755 tweeper $(DESTDIR)$(TWEEPER_DIR)
+	install -d $(DESTDIR)$(TWEEPER_DIR)/src
+	install -m644 src/* $(DESTDIR)$(TWEEPER_DIR)/src
 	install -d $(DESTDIR)$(BIN_DIR)
 	ln -sf $(TWEEPER_DIR)/tweeper $(DESTDIR)$(BIN_DIR)/tweeper
 	@echo -e "\n\nINSTALLATION COMPLETE"