#!/bin/sh # Generate file-list. Copied from autogen cd config for m4dir in amanda gettext-macros gnulib macro-archive; do echo "## this file is automatically generated by gen-file-lists" > "$m4dir/file-list" for f in $m4dir/*.m4; do echo "EXTRA_DIST += $f" >> "$m4dir/file-list"; done done echo "## this file is automatically generated by gen-file-lists" > "automake/file-list" for f in automake/*.am; do echo "EXTRA_DIST += $f" >> "automake/file-list"; done