# -*- Mode: makefile -*-
# SUMMARY:
# USAGE: make <make-target>
# AUTHOR: Christophe Prud'homme
# ORG: Christophe Prud'homme
# E-MAIL: Christophe.Prudhomme@ann.jussieu.fr
# ORIG-DATE: 20-Oct-98 at 00:57:04
# LAST-MOD: 27-Nov-98 at 14:59:53 by Christophe Prud'homme
# DESCRIPTION:
# DESCRIP-END.
all:
@admin/autogen.sh
SUFFIXES = .cpp .hpp .c .h .f .F .o .moc
cvs-clean:
@if test ! -d CVS; then \
echo "You don't have a toplevel CVS directory."; \
echo "You most certainly didn't use cvs to get these sources."; \
echo "But this function depends on cvs's information."; \
exit 1 ;\
fi;\
pwd=`pwd` ;\
dirs=`find . -type d | grep -v CVS | sed -e "s#^./##"` ;\
for i in $$dirs; do \
if test ! -d "$$pwd/$$i/CVS"; then \
echo "D $$i" ;\
rm -rf "$$pwd/$$i"; \
continue; \
fi ;\
cd $$pwd/$$i ;\
for f in * .*; do \
if test ! -d "$$f"; then \
if grep "^/$$f/" CVS/Entries > /dev/null; then \
a="b"; \
else \
echo "F $$i/$$f"; \
rm -f "$$pwd/$$i/$$f"; \
fi; \
fi ; \
done; \
done
syntax highlighted by Code2HTML, v. 0.9.1