From c9fed5f857a8a6bcce5e276920fd64c43bc5c668 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Mon, 2 Nov 2009 11:55:14 +0100 Subject: [PATCH] pmccabe2html: Don't hard code awk path. --- ChangeLog | 9 +++++++++ build-aux/pmccabe2html | 5 +++-- m4/pmccabe2html.m4 | 14 -------------- modules/pmccabe2html | 4 +--- 4 files changed, 13 insertions(+), 19 deletions(-) delete mode 100644 m4/pmccabe2html.m4 diff --git a/ChangeLog b/ChangeLog index e062128905..bcc837e616 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-11-02 Simon Josefsson + + * m4/pmccabe2html.m4: Remove file. + * modules/pmccabe2html: Drop pmccabe2html.m4. Don't call m4 + function. Change maintainer. + * build-aux/pmccabe2html: Use /bin/sh with magic instead of + hard-coding path to awk. Tiny patch from ludo@gnu.org (Ludovic + Courtès). + 2009-10-31 Eric Blake fseeko: fix m4 regression diff --git a/build-aux/pmccabe2html b/build-aux/pmccabe2html index 27bb8f3539..bc0f6e80b9 100755 --- a/build-aux/pmccabe2html +++ b/build-aux/pmccabe2html @@ -1,7 +1,8 @@ -#!/usr/bin/awk -f +#!/bin/sh +exec awk -f "$0" "$@" # pmccabe2html - pmccabe to html converter -# Copyright (C) 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/m4/pmccabe2html.m4 b/m4/pmccabe2html.m4 deleted file mode 100644 index 2985f7c6d2..0000000000 --- a/m4/pmccabe2html.m4 +++ /dev/null @@ -1,14 +0,0 @@ -# pmccabe2html.m4 serial 2 -dnl Copyright (C) 2008, 2009 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -dnl From Simon Josefsson - -# Usage: gl_PMCCABE2HTML([]). -AC_DEFUN([gl_PMCCABE2HTML], -[ - AC_REQUIRE([AC_PROG_AWK]) - AC_PATH_PROG([PMCCABE], [pmccabe], [false]) -]) diff --git a/modules/pmccabe2html b/modules/pmccabe2html index 50db333e90..8ab7d78c09 100644 --- a/modules/pmccabe2html +++ b/modules/pmccabe2html @@ -3,14 +3,12 @@ Produce fancy cyclomatic code complexity charts, using pmccabe. See . Files: -m4/pmccabe2html.m4 build-aux/pmccabe2html build-aux/pmccabe.css Depends-on: configure.ac: -gl_PMCCABE2HTML Makefile.am: @@ -20,4 +18,4 @@ License: GPLed build tool Maintainer: -gnupdf +gnupdf and Simon Josefsson -- 2.30.2