From 1d98349b6072dee933df022da38876624b87f923 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 8 Jan 2026 23:42:17 +0900 Subject: [PATCH] Move admin/gendoc.pl to data/gendoc/gendoc.pl. Once the cmake conversion is completed and the support for autotools is dropped, the admin folder will no longer exist but "gendoc.pl" is still required to generate the help documentation. Signed-off-by: Michele Calgaro (cherry picked from commit 10f91a66b62cdb1b81d707f97387c644c4e5cbf0) --- Makefile.am | 2 +- admin/Makefile.am | 2 +- configure.in | 1 + data/Makefile.am | 2 +- data/gendoc/Makefile.am | 1 + {admin => data/gendoc}/gendoc.pl | 0 6 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 data/gendoc/Makefile.am rename {admin => data/gendoc}/gendoc.pl (100%) diff --git a/Makefile.am b/Makefile.am index 01ef4bb..40e3178 100644 --- a/Makefile.am +++ b/Makefile.am @@ -61,7 +61,7 @@ messages: docs: $(mkinstalldirs) $(DESTDIR)$(helpdir) - perl admin/gendoc.pl -v $(VERSION) $(DESTDIR)$(helpdir) \ + perl data/gendoc/gendoc.pl -v $(VERSION) $(DESTDIR)$(helpdir) \ data/doctemplates/*.template \ `find ./ -name "*.cpp" -print` \ `find ./ -name "*.h" -print` diff --git a/admin/Makefile.am b/admin/Makefile.am index cbce7d7..e7a6bc9 100644 --- a/admin/Makefile.am +++ b/admin/Makefile.am @@ -1 +1 @@ -EXTRA_DIST = acinclude.m4.in libtool.m4.in gendoc.pl gensrc.pl +EXTRA_DIST = acinclude.m4.in libtool.m4.in diff --git a/configure.in b/configure.in index 2b0c52d..b371140 100644 --- a/configure.in +++ b/configure.in @@ -126,6 +126,7 @@ AC_OUTPUT( \ data/deftheme/Makefile \ data/deftheme/silverirc/Makefile \ data/doctemplates/Makefile \ + data/gendoc/Makefile \ data/mimelnk/Makefile \ data/msgcolors/Makefile \ data/protocols/Makefile \ diff --git a/data/Makefile.am b/data/Makefile.am index f06b741..000cda1 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -3,4 +3,4 @@ ############################################################################### SUBDIRS = app config defscript deftheme doctemplates \ - mimelnk msgcolors protocols + gendoc mimelnk msgcolors protocols diff --git a/data/gendoc/Makefile.am b/data/gendoc/Makefile.am new file mode 100644 index 0000000..bf09206 --- /dev/null +++ b/data/gendoc/Makefile.am @@ -0,0 +1 @@ +EXTRA_DIST = gendoc.pl diff --git a/admin/gendoc.pl b/data/gendoc/gendoc.pl similarity index 100% rename from admin/gendoc.pl rename to data/gendoc/gendoc.pl