summaryrefslogtreecommitdiff
path: root/data/help
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-25 21:13:17 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-25 21:13:17 +0300
commit64f2b2ad95684d871034a14c5af9a0650660db2b (patch)
tree61f9555becbf31d74ca7753c76bc84f9b32327b9 /data/help
parent56cea96ce8e45ac690ce755c856bcb70a202009d (diff)
downloadmanaplus-64f2b2ad95684d871034a14c5af9a0650660db2b.tar.gz
manaplus-64f2b2ad95684d871034a14c5af9a0650660db2b.tar.bz2
manaplus-64f2b2ad95684d871034a14c5af9a0650660db2b.tar.xz
manaplus-64f2b2ad95684d871034a14c5af9a0650660db2b.zip
Add support for multiple help index files.
Diffstat (limited to 'data/help')
-rw-r--r--data/help/CMakeLists.txt3
-rw-r--r--data/help/Makefile.am3
-rw-r--r--data/help/idx/CMakeLists.txt5
-rw-r--r--data/help/idx/Makefile.am8
-rw-r--r--data/help/idx/tags.idx (renamed from data/help/tags.idx)0
5 files changed, 15 insertions, 4 deletions
diff --git a/data/help/CMakeLists.txt b/data/help/CMakeLists.txt
index 60cf9a458..aae5b480e 100644
--- a/data/help/CMakeLists.txt
+++ b/data/help/CMakeLists.txt
@@ -14,11 +14,10 @@ SET(FILES
searchnotfound.txt
skills.txt
support.txt
- tags.idx
team.txt
windows.txt
)
-ADD_SUBDIRECTORY(tips)
+ADD_SUBDIRECTORY(idx tips)
INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/help)
diff --git a/data/help/Makefile.am b/data/help/Makefile.am
index b83c4830b..929228dc5 100644
--- a/data/help/Makefile.am
+++ b/data/help/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = tips
+SUBDIRS = idx tips
helpdir = $(pkgdatadir)/data/help
@@ -18,7 +18,6 @@ help_DATA = \
searchnotfound.txt \
skills.txt \
support.txt \
- tags.idx \
team.txt \
windows.txt
diff --git a/data/help/idx/CMakeLists.txt b/data/help/idx/CMakeLists.txt
new file mode 100644
index 000000000..321eb8318
--- /dev/null
+++ b/data/help/idx/CMakeLists.txt
@@ -0,0 +1,5 @@
+SET(FILES
+ tags.idx
+ )
+
+INSTALL(FILES ${FILES} DESTINATION ${DATA_DIR}/help/idx)
diff --git a/data/help/idx/Makefile.am b/data/help/idx/Makefile.am
new file mode 100644
index 000000000..001e68707
--- /dev/null
+++ b/data/help/idx/Makefile.am
@@ -0,0 +1,8 @@
+idxdir = $(pkgdatadir)/data/help/idx
+
+idx_DATA = \
+ tags.idx
+
+EXTRA_DIST = \
+ $(idx_DATA) \
+ CMakeLists.txt
diff --git a/data/help/tags.idx b/data/help/idx/tags.idx
index 12f3d8477..12f3d8477 100644
--- a/data/help/tags.idx
+++ b/data/help/idx/tags.idx