[Pkg-electronics-commits] [verilator] 04/07: Install all manuals

أحمد المحمودي (Ahmed El-Mahmoudy) aelmahmoudy at sabily.org
Mon Apr 6 12:07:39 UTC 2015


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

aelmahmoudy-guest pushed a commit to branch experimental
in repository verilator.

commit 719f7ccef5d045afe9575e8eef199f0923d30da9
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
Date:   Mon Apr 6 13:26:23 2015 +0200

    Install all manuals
    
    * Added install_all_manpages.diff patch to generate/install manpages for
      verilator_profcfunc & verilator_coverage
    * Remove debian/manpages, debian/verilator_profcfunc.1
    * debian/links: added verilator_coverage_bin_dbg.1 -> verilator_coverage.1 symlink.
---
 debian/links                             |  1 +
 debian/manpages                          |  1 -
 debian/patches/install_all_manpages.diff | 34 ++++++++++++++++++++++++++++
 debian/patches/series                    |  1 +
 debian/verilator_profcfunc.1             | 39 --------------------------------
 5 files changed, 36 insertions(+), 40 deletions(-)

diff --git a/debian/links b/debian/links
index b404bf0..c67ae42 100644
--- a/debian/links
+++ b/debian/links
@@ -1,2 +1,3 @@
 usr/share/man/man1/verilator.1.gz usr/share/man/man1/verilator_bin.1.gz
 usr/share/man/man1/verilator.1.gz usr/share/man/man1/verilator_bin_dbg.1.gz
+usr/share/man/man1/verilator_coverage.1.gz usr/share/man/man1/verilator_coverage_bin_dbg.1.gz
diff --git a/debian/manpages b/debian/manpages
deleted file mode 100644
index 364e563..0000000
--- a/debian/manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/verilator_profcfunc.1
diff --git a/debian/patches/install_all_manpages.diff b/debian/patches/install_all_manpages.diff
new file mode 100644
index 0000000..d6961dd
--- /dev/null
+++ b/debian/patches/install_all_manpages.diff
@@ -0,0 +1,34 @@
+Description: Install all manpages
+Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -207,10 +207,7 @@
+ info: $(INFOS)
+ 
+ # Use --no-split to avoid creating filenames > 14 chars.
+-verilator.1: ${srcdir}/bin/verilator
+-	pod2man $< $@
+-
+-verilator_coverage.1: ${srcdir}/bin/verilator_coverage
++%.1: ${srcdir}/bin/%
+ 	pod2man $< $@
+ 
+ verilator.txt: ${srcdir}/bin/verilator
+@@ -267,7 +264,7 @@
+ # so they can be found by the user, and under $VERILATOR_ROOT.
+ 
+ # See uninstall also - don't put wildcards in this variable, it might uninstall other stuff
+-VL_INST_MAN_FILES = verilator.1 verilator_coverage.1
++VL_INST_MAN_FILES = verilator.1 verilator_coverage.1 verilator_profcfunc.1
+ 
+ VL_INST_INC_BLDDIR_FILES = \
+ 	include/verilated.mk \
+@@ -297,7 +294,7 @@
+ # So important we use $< so VPATH is searched
+ installman: $(VL_INST_MAN_FILES)
+ 	$(SHELL) ${srcdir}/mkinstalldirs $(DESTDIR)$(mandir)/man1
+-	for p in $< ; do \
++	for p in $^ ; do \
+ 	  $(INSTALL_DATA) $$p $(DESTDIR)$(mandir)/man1/$$p; \
+ 	done
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 4b7e6fa..4be539c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 shebang.diff
+install_all_manpages.diff
diff --git a/debian/verilator_profcfunc.1 b/debian/verilator_profcfunc.1
deleted file mode 100644
index a71d00a..0000000
--- a/debian/verilator_profcfunc.1
+++ /dev/null
@@ -1,39 +0,0 @@
-.\"Text automatically generated by txt2man
-.TH VERILATOR_PROFCFUNC 1 "2010-04-09" "perl v5.10.1" "User Contributed Perl Documentation"
-.SH NAME
-\fBverilator_profcfunc \fP- Read gprof report created with \fB\-\-profile\-cfuncs\fP
-\fB
-.SH SYNOPSIS
-.nf
-.fam C
-    \fBverilator\fP \fB\-\-profile-cfuncs\fP \.\.\..
-    \fBgcc\fP \fB\-\-ggdb\fP \fB-pg\fP \.\.\..
-    {run executable}
-    \fBgprof\fP
-    \fBverilator_profcfuncs\fP gprof.out
-
-.fam T
-.fi
-.fam T
-.fi
-.SH DESCRIPTION
-Verilator_profcfunc reads a profile report created by \fBgprof\fP. The names
-of the functions are then transformed, assuming the user used
-\fBverilator\fP's \fB\-\-profile-cfuncs\fP, and a report printed showing the
-percentage of time, etc, in each Verilog block.
-.SH ARGUMENTS
-\fB\-\-help\fP
-Displays this message and program version and exits.
-.SH DISTRIBUTION
-The latest version is available from <http://www.veripool.org/>.
-.PP
-Copyright 2007-2010 by Wilson Snyder. Verilator is free software; you
-can redistribute it and/or modify it under the terms of either the GNU
-Lesser General Public License Version 3 or the Perl Artistic License
-Version 2.0.
-.SH AUTHORS
-.PP
-Wilson Snyder <wsnyder at wsnyder.org>
-.SH SEE ALSO
-.PP
-.BR verilator (1)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/verilator.git



More information about the Pkg-electronics-commits mailing list