This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gokdriveclient.

commit a12818bb12aa7b5ced3e131d2ae524fa998964e4
Author: Mihai Moldovan <io...@ionic.de>
Date:   Fri Feb 24 16:02:03 2023 +0100

    Makefile.man2html: copy from X2Go Client.
---
 Makefile.man2html | 24 ++++++++++++++++++++++++
 debian/changelog  |  1 +
 2 files changed, 25 insertions(+)

diff --git a/Makefile.man2html b/Makefile.man2html
new file mode 100644
index 0000000..36fb984
--- /dev/null
+++ b/Makefile.man2html
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+MAN2HTML_BIN = $(shell which man2html)
+MAN2HTML_SRC   = man
+BUILD_DIR = .build_man2html
+MAN2HTML_DEST = $(BUILD_DIR)/html
+
+man_pages = $(cd $(MAN2HTML_SRC) && find * -type f)
+
+all: build
+
+build: build_man2html
+
+build_man2html:
+       if [ -n "$(MAN2HTML_BIN)" ]; then \
+               mkdir -p $(MAN2HTML_DEST); \
+               for man_page in $(man_pages); do mkdir -p $$(dirname 
$(MAN2HTML_DEST)/$$man_page); done; \
+               for man_page in $(man_pages); do $(MAN2HTML_BIN) 
$(MAN2HTML_SRC)/$$man_page > $(MAN2HTML_DEST)/$$man_page.html; done; \
+       fi
+
+clean: clean_man2html
+
+clean_man2html:
+       rm -Rf $(BUILD_DIR)
diff --git a/debian/changelog b/debian/changelog
index faf3b7f..7c6ac7c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -80,6 +80,7 @@ x2gokdriveclient (0.0.0.1-0x2go1) UNRELEASED; urgency=medium
     - *.{h,cpp}: move to src directory.
     - Makefile: copy from X2Go Client.
     - x2gokdriveclient.spec: fix man page install permissions.
+    - Makefile.man2html: copy from X2Go Client.
   * debian/rules:
     * Let qmake add general Qt {C{,XX},L}FLAGS instead of overriding them.
       Especially needed for C++11 support.

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/x2gokdriveclient.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to