2 # Remove files generated by autoreconf -fi.
3 # For use by the clean target in debian/rules.
7 remove_files
='#!/usr/bin/perl
8 # Remove specified files from the current directory.
9 # Each line must be a filename, a comment (starting with #),
10 # a simple glob (of the form *.extension), or blank.
11 # Filenames are restricted to a small character set.
16 my $fnchar = qr/[-_~.@[:alnum:]]/;
20 my $simple = qr/^$fnchar+$/;
21 my $glob = qr/^\*$fnchar+$/;
22 while (my $line = <>) {
24 next if $line =~ $empty;
25 next if $line =~ $comment;
27 if ($line =~ $simple) {
36 die "cannot parse $line";
41 rm -f debug
/translation.bash
tests
/test_block.c
42 rm -f ABOUT-NLS aclocal.
m4 config.h.
in configure
43 (cd po
&& perl
-e "$remove_files") < debian
/generated-po.list
44 (cd m4 && perl
-e "$remove_files") < debian
/generated-m4.list
45 (cd build-aux
&& perl
-e "$remove_files") < debian
/generated-build-aux.list
46 find .
-name Makefile.
in -delete