Renaming of files in preparation for code style tools.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/2/head
Michele Calgaro 3 years ago
parent af66a44905
commit 8f63a16a39
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -609,21 +609,21 @@ force-reedit:
#>+ 21
clean-bcheck:
rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
rm -f *.bchecktest.cpp *.bchecktest.cpp.class a.out
bcheck: bcheck-am
bcheck-am:
@for i in ; do \
if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
if test $(srcdir)/$$i -nt $$i.bchecktest.cpp; then \
echo "int main() {return 0;}" > $$i.bchecktest.cpp ; \
echo "#include \"$$i\"" >> $$i.bchecktest.cpp ; \
echo "$$i"; \
if ! $(CXX) $(DEFS) -I. -I$(srcdir) -I$(top_builddir) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
rm -f $$i.bchecktest.cc; exit 1; \
if ! $(CXX) $(DEFS) -I. -I$(srcdir) -I$(top_builddir) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) --dump-class-hierarchy -c $$i.bchecktest.cpp; then \
rm -f $$i.bchecktest.cpp; exit 1; \
fi ; \
echo "" >> $$i.bchecktest.cc.class; \
perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
echo "" >> $$i.bchecktest.cpp.class; \
perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cpp.class || { rm -f $$i.bchecktest.cpp; exit 1; }; \
rm -f a.out; \
fi ; \
done

Loading…
Cancel
Save