Mercurial > octave-nkf
view build-aux/find-files-with-tests.sh @ 20341:47d704435aa4
eliminate recursive make invocation in etc/icons directory
* etc/module.mk: New file.
* etc/icons/Makefile.am: Move contents to etc/module.mk and
Makefile.am. Adapt filenames as needed.
* Makefile.am (EXTRA_DIST): Move list of files in etc directory to
etc/module.mk.
(SUBDIRS): Remove etc/icons from the list.
* configure.ac (AC_OUTPUT): Don't generate etc/icons/Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 03 Jul 2015 07:51:51 -0400 |
parents | 43e6415393ff |
children |
line wrap: on
line source
#! /bin/sh set -e GREP=${GREP:-grep} SED=${SED:-sed} srcdir="$1" shift for arg do if [ -f "$arg" ]; then file="$arg" else file="$srcdir/$arg" fi if [ "`$GREP -l '^%!' $file`" ]; then echo "$file" | $SED "s,\\$srcdir/,,"; fi done