summaryrefslogtreecommitdiff
path: root/doc/cyclo
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2011-11-21 09:22:14 +0100
committerSimon Josefsson <simon@josefsson.org>2011-11-21 09:22:14 +0100
commit0b59daa3624ef5b78f5b0f3e9168e3666129e233 (patch)
tree5e4eafb2d23e727f0177e20c18f31c1fbccff562 /doc/cyclo
parent4554cc0da52ebc67a25043937fe408d399ea4f7d (diff)
downloadlibtasn1-0b59daa3624ef5b78f5b0f3e9168e3666129e233.tar.gz
libtasn1-0b59daa3624ef5b78f5b0f3e9168e3666129e233.tar.bz2
libtasn1-0b59daa3624ef5b78f5b0f3e9168e3666129e233.zip
Generalize cyclo rules.
Diffstat (limited to 'doc/cyclo')
-rw-r--r--doc/cyclo/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/cyclo/Makefile.am b/doc/cyclo/Makefile.am
index 698a796..225e92c 100644
--- a/doc/cyclo/Makefile.am
+++ b/doc/cyclo/Makefile.am
@@ -16,18 +16,18 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-EXTRA_DIST = cyclo-libtasn1.html
+EXTRA_DIST = cyclo-$(PACKAGE).html
-vcurl = "http://git.savannah.gnu.org/gitweb/?p=libtasn1.git;a=blob;f=lib/%FILENAME%;hb=HEAD"
+vcurl = "http://git.savannah.gnu.org/gitweb/?p=$(PACKAGE).git;a=blob;f=lib/%FILENAME%;hb=HEAD"
-cyclo-libtasn1.html:
+cyclo-$(PACKAGE).html:
(cd ${top_srcdir}/lib && \
$(PMCCABE) *.[ch] \
| sort -nr \
| LANG=C $(AWK) -f ${abs_top_srcdir}/build-aux/pmccabe2html \
-v lang=html -v name="$(PACKAGE_STRING)" \
-v vcurl=$(vcurl) \
- -v url="http://www.gnu.org/software/libtasn1/" \
+ -v url="http://www.gnu.org/software/$(PACKAGE)/" \
-v css=${abs_top_srcdir}/build-aux/pmccabe.css) \
> tmp
mv tmp $@