Mercurial > hg > octave-kai > gnulib-hg
changeset 12223:2f9579cbb962
pmccabe2html: Don't hard code awk path.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Mon, 02 Nov 2009 11:55:14 +0100 |
parents | a968e87200d1 |
children | ba9f6f755aa8 |
files | ChangeLog build-aux/pmccabe2html m4/pmccabe2html.m4 modules/pmccabe2html |
diffstat | 4 files changed, 13 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-11-02 Simon Josefsson <simon@josefsson.org> + + * 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 <ebb9@byu.net> fseeko: fix m4 regression
--- 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
deleted file mode 100644 --- 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]) -])
--- a/modules/pmccabe2html +++ b/modules/pmccabe2html @@ -3,14 +3,12 @@ See <http://www.parisc-linux.org/~bame/pmccabe/>. Files: -m4/pmccabe2html.m4 build-aux/pmccabe2html build-aux/pmccabe.css Depends-on: configure.ac: -gl_PMCCABE2HTML Makefile.am: @@ -20,4 +18,4 @@ GPLed build tool Maintainer: -gnupdf +gnupdf and Simon Josefsson