X-Git-Url: https://git.ao2.it/tweeper.git/blobdiff_plain/6abf3adca8e6aa2ecd08b2881b4ae19d6d8dd9d2..4336e714ebb2cf1b07c59a4534b9d9acd244c6f9:/Makefile?ds=inline

diff --git a/Makefile b/Makefile
index e076b13..eff450a 100644
--- a/Makefile
+++ b/Makefile
@@ -21,10 +21,11 @@ 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\nINTALLATION COMPLETE"
-	@echo -e "Make sure '$(PHP_SCRIPT_DIR)' is in PHP include_path!\n"
+	ln -rsf $(DESTDIR)$(TWEEPER_DIR)/tweeper $(DESTDIR)$(BIN_DIR)/tweeper
+	@echo -e "\n\nINSTALLATION COMPLETE"
+	@echo -e "Make sure '$(DESTDIR)$(PHP_SCRIPT_DIR)' is in PHP include_path!\n"