Sources

The Tree of Radix and Third Party Sources

1388 Commits   0 Branches   11 Tags
author: kx <kx@radix.pro> 2021-10-14 15:55:26 +0300 committer: kx <kx@radix.pro> 2021-10-14 15:55:26 +0300 commit: e85c08e89ab704c7eb202a4b9172956d0392f7a7 parent: b54f796d3351cdf4617e06e06d2cb4426cf22098
Commit Summary:
repack fakeroot due to add required international man pages
Diffstat:
1 file changed, 11 insertions, 0 deletions
diff --git a/packages/a/fakeroot/Makefile b/packages/a/fakeroot/Makefile
index 3f4cff8..405b96b 100644
--- a/packages/a/fakeroot/Makefile
+++ b/packages/a/fakeroot/Makefile
@@ -16,6 +16,11 @@
 # tags:
 #   upstream/1.26, ...
 #
+#
+# NOTE:
+#   This Makefile repacks source packages due to build required man pages.
+#   Rebuilding passes using po4a utility which should be installed in system.
+#
 
 url        = https://salsa.debian.org/clint
 
@@ -53,6 +58,12 @@ $(tarballs): $(git_repo)
 	      git archive --format=tar --prefix=$(pkg_name)-$$version/ $$tag | \
 	      xz >../$(pkg_name)-$$version.$(suffix) ) ; \
 	  fi ; \
+	  tar xJf $(pkg_name)-$$version.$(suffix) ; \
+	  ( cd $(pkg_name)-$$version/doc ; \
+	    echo -e "\n======= build required man pages for available languages =======" ; \
+	    po4a -k 0 --rm-backups --variable 'srcdir=../doc/' po4a/po4a.cfg ) ; \
+	  tar cJf $(pkg_name)-$$version.$(suffix) $(pkg_name)-$$version ; \
+	  rm -rf $(pkg_name)-$$version ; \
 	done
 
 $(sha1s): %.$(suffix).sha1sum : %.$(suffix)