1 # Copyright 1996-2013 Ian Jackson <ijackson@chiark.greenend.org.uk>
2 # Copyright 1998 David Damerell <damerell@chiark.greenend.org.uk>
4 # Chancellor Masters and Scholars of the University of Cambridge
5 # Copyright 2010 Tony Finch <fanf@dotat.at>
7 # This is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with userv-utils; if not, see http://www.gnu.org/licenses/.
21 @echo
>&2 'See README. This is not a unified package.'
23 SUBDIRS_DISTCLEAN
= www-cgi ipif git-daemon
26 find . \
( -name
'*~' -o
-name
'#*#' -o
-name
'*.o' -o
-name core \
27 -o
-name dist_tmp
-o
-name userv-utils-\
*.
tar.gz \
29 -print0 | xargs
-0r
rm -rf
--
30 for f in
$(SUBDIRS_DISTCLEAN
); do make
-C
$$f distclean; done