[Pkg-bitcoin-commits] [cgminer] 01/01: cleaning up formating for unblock request
Scott Sheridan Howard
showard at moszumanska.debian.org
Sun Nov 9 23:07:33 UTC 2014
This is an automated email from the git hooks/post-receive script.
showard pushed a commit to branch master
in repository cgminer.
commit ea6fe72d72d689e071c9ee6f5ae3568ce3428924
Author: Scott Howard <showard314 at gmail.com>
Date: Sun Nov 9 18:07:15 2014 -0500
cleaning up formating for unblock request
---
debian/changelog | 4 ++--
debian/rules | 31 +++++++++++++++----------------
2 files changed, 17 insertions(+), 18 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index dec7d17..09c66e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
cgminer (4.7.0-2) unstable; urgency=medium
- * Updated manpage since the new binary will have same configuration
- on all archs
* Only build with recommended configuration on all archs (Closes: #767719)
+ - Updated manpage since the new binary will have same configuration
+ on all archs
-- Scott Howard <showard at debian.org> Sat, 08 Nov 2014 11:10:48 -0500
diff --git a/debian/rules b/debian/rules
index 22c9feb..b7d2b2b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,20 @@ override_dh_auto_build:
$(shell dpkg-buildflags --get CPPFLAGS) \
-I /usr/include/libusb-1.0/ -o cgminer-api
+#generates manpage, make sure package is installed first
+MAN_NAME=multi-threaded multi-pool GPU, FPGA and CPU bitcoin miner.
+debian/cgminer.1: /usr/bin/cgminer
+ help2man --no-discard-stderr --no-info --name="$(MAN_NAME)" $? #for debugging bug #757381
+ help2man --no-discard-stderr --no-info --name="$(MAN_NAME)" $? > $@
+ perl \
+ -E 's{\s+(It was generated by help2man)}{ $$1}; # correcting help2man comment' \
+ -E 's{^cgminer\s+[\d.]+$$}{$(MAN_NAME)}; # correcting DESCRIPTION section' \
+ -E 's{\.PP\K}{\n.SH OPTIONS\n}; # create OPTIONS section' \
+ -E 's{^(Options\s+for)}{.SS\n$$1}; # separate Options paragraphs' \
+ -E 's{^(\\fB\\-\\-)}{.TP\n$$1}; # prepend each option with .TP' \
+ -E 's{(?:<arg>\s+|\s\s+|\\fR\s+(?!<arg>))\K}{\n}; # separate arguments and their descriptions' \
+ -pi $@
+
override_dh_installchangelogs:
dh_installchangelogs NEWS
@@ -42,22 +56,7 @@ copyright_check:
DPATH := $(abspath $(dir $(MAKEFILE_LIST)))
VER ?= $(shell dpkg-parsechangelog -l$(DPATH)/changelog | perl -ne 'print $$1 if m{Version:\s*([\d\.]+)}')
-.PHONY: get-orig-source generate-manpage
-
+.PHONY: get-orig-source
get-orig-source:
@echo "# Downloading..."
uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(VER) $(DPATH)
-
-#generates manpage, make sure package is installed first
-MAN_NAME=multi-threaded multi-pool GPU, FPGA and CPU bitcoin miner.
-debian/cgminer.1: /usr/bin/cgminer
- help2man --no-discard-stderr --no-info --name="$(MAN_NAME)" $? #for debugging bug #757381
- help2man --no-discard-stderr --no-info --name="$(MAN_NAME)" $? > $@
- perl \
- -E 's{\s+(It was generated by help2man)}{ $$1}; # correcting help2man comment' \
- -E 's{^cgminer\s+[\d.]+$$}{$(MAN_NAME)}; # correcting DESCRIPTION section' \
- -E 's{\.PP\K}{\n.SH OPTIONS\n}; # create OPTIONS section' \
- -E 's{^(Options\s+for)}{.SS\n$$1}; # separate Options paragraphs' \
- -E 's{^(\\fB\\-\\-)}{.TP\n$$1}; # prepend each option with .TP' \
- -E 's{(?:<arg>\s+|\s\s+|\\fR\s+(?!<arg>))\K}{\n}; # separate arguments and their descriptions' \
- -pi $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/cgminer.git
More information about the Pkg-bitcoin-commits
mailing list