New target 'sort-cvsignore' to keep all .cvsignore files sorted.

DEVEL_2_0_BRANCH-1
Petter Reinholdtsen 2001-04-16 17:39:07 +00:00
rodzic 30c81f9d64
commit 4b9990ac22
1 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -54,6 +54,16 @@ install: install-recursive
$(INSTALL_DATA) $${file} $(includedir)/sane || exit 1; \
done
#
# Keep the .cvsignore files sorted, and use this target to do it.
#
PERL=perl
sort-cvsignore:
for f in `find . -name .cvsignore`; do \
$(PERL) -e 'print sort <>;' < $$f > $$f.tmptmp; \
mv $$f.tmptmp $$f; \
done
clean: clean-recursive
distclean: clean distclean-recursive