summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-09-26 21:56:51 +0100
committerPeter Powell <petpow@saberuk.com>2018-09-26 23:36:19 +0100
commit2af0476c5a35bfca06820f923debedf4fbc93cb8 (patch)
tree8ef6c20ffb3e70b8d3052adf20b0771557163148
parent1e33c494bb087ca79197bef17f138104c66036c7 (diff)
Move the SQL tables to docs/sql and install them on `make install`.
-rw-r--r--docs/sql/sqloper.mysql.sql (renamed from extras/m_sqloper.mysql.sql)0
-rw-r--r--docs/sql/sqloper.pgsql.sql (renamed from extras/m_sqloper.postgresql.sql)0
-rw-r--r--docs/sql/sqloper.sqlite3.sql (renamed from extras/m_sqloper.sqlite3.sql)0
-rw-r--r--make/template/main.mk2
4 files changed, 2 insertions, 0 deletions
diff --git a/extras/m_sqloper.mysql.sql b/docs/sql/sqloper.mysql.sql
index a8a2b7e1d..a8a2b7e1d 100644
--- a/extras/m_sqloper.mysql.sql
+++ b/docs/sql/sqloper.mysql.sql
diff --git a/extras/m_sqloper.postgresql.sql b/docs/sql/sqloper.pgsql.sql
index 0b3cdb8dc..0b3cdb8dc 100644
--- a/extras/m_sqloper.postgresql.sql
+++ b/docs/sql/sqloper.pgsql.sql
diff --git a/extras/m_sqloper.sqlite3.sql b/docs/sql/sqloper.sqlite3.sql
index 6aec5a118..6aec5a118 100644
--- a/extras/m_sqloper.sqlite3.sql
+++ b/docs/sql/sqloper.sqlite3.sql
diff --git a/make/template/main.mk b/make/template/main.mk
index 071e5da73..a67c14f73 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -214,6 +214,7 @@ install: target
@-$(INSTALL) -d -o $(INSTUID) -m $(INSTMODE_DIR) $(LOGPATH)
@-$(INSTALL) -d -m $(INSTMODE_DIR) $(BINPATH)
@-$(INSTALL) -d -m $(INSTMODE_DIR) $(CONPATH)/examples/services
+ @-$(INSTALL) -d -m $(INSTMODE_DIR) $(CONPATH)/examples/sql
@-$(INSTALL) -d -m $(INSTMODE_DIR) $(MANPATH)
@-$(INSTALL) -d -m $(INSTMODE_DIR) $(MODPATH)
@-$(INSTALL) -d -m $(INSTMODE_DIR) $(SCRPATH)
@@ -232,6 +233,7 @@ endif
-$(INSTALL) -m $(INSTMODE_BIN) tools/genssl $(BINPATH)/inspircd-genssl 2>/dev/null
-$(INSTALL) -m $(INSTMODE_LIB) docs/conf/*.example $(CONPATH)/examples
-$(INSTALL) -m $(INSTMODE_LIB) docs/conf/services/*.example $(CONPATH)/examples/services
+ -$(INSTALL) -m $(INSTMODE_LIB) docs/sql/*.sql $(CONPATH)/examples/sql
-$(INSTALL) -m $(INSTMODE_LIB) *.pem $(CONPATH) 2>/dev/null
@echo ""
@echo "*************************************"