[X2Go-Commits] [x2goclient] 09/10: Makefile.man2html: replace backticks with $() and change spaces to tabs.

git-admin at x2go.org git-admin at x2go.org
Fri Feb 13 22:13:45 CET 2015


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

x2go pushed a commit to branch feature/cleanup
in repository x2goclient.

commit e89bb3d74f22d8f6c96593cb19ce155dd61c3c04
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Feb 13 22:08:53 2015 +0100

    Makefile.man2html: replace backticks with $() and change spaces to tabs.
---
 Makefile.man2html |    8 ++++----
 debian/changelog  |    2 ++
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Makefile.man2html b/Makefile.man2html
index 3412768..36fb984 100644
--- a/Makefile.man2html
+++ b/Makefile.man2html
@@ -5,7 +5,7 @@ MAN2HTML_SRC   = man
 BUILD_DIR = .build_man2html
 MAN2HTML_DEST = $(BUILD_DIR)/html
 
-man_pages = `cd $(MAN2HTML_SRC) && find * -type f`
+man_pages = $(cd $(MAN2HTML_SRC) && find * -type f)
 
 all: build
 
@@ -13,9 +13,9 @@ 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; \
+		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
diff --git a/debian/changelog b/debian/changelog
index d1f7e14..149239e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -109,6 +109,8 @@ x2goclient (4.0.3.2-0x2go1) UNRELEASED; urgency=medium
     - Fix typos and update URL's in INSTALL file.
     - Fix typos and grammar in HOWTO.GPGCARD.
     - Add "X2Go Project" copyright to LICENSE file.
+    - Replace backticks with $() and change spaces to tabs in
+      Makefile.man2html.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Thu, 27 Nov 2014 12:01:43 +0100
 

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list