Whitespace cleanup of all Makefiles*

- some of the %.clean rules in the test-suite Makefiles were using a single tab
  as an empty rule, dangerous! I've replaced these with the safer '@exit 0'.
This commit is contained in:
Karl Wette 2014-05-02 16:16:11 +02:00
commit d5b765d388
33 changed files with 138 additions and 167 deletions

View file

@ -75,4 +75,3 @@ linkchecker:
@echo Note linkchecker versions prior to 6.1 do not work properly wrt anchors @echo Note linkchecker versions prior to 6.1 do not work properly wrt anchors
@echo ----------------------------------------------------------------------- @echo -----------------------------------------------------------------------
linkchecker --config=./linkchecker.config index.html linkchecker --config=./linkchecker.config index.html

View file

@ -123,4 +123,3 @@ run_testcase = \
clean: clean:
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile allegrocl_clean $(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile allegrocl_clean

View file

@ -44,8 +44,7 @@ run_testcase = \
# Clean: (does nothing, we dont generate extra cffi code) # Clean: (does nothing, we dont generate extra cffi code)
%.clean: %.clean:
@exit 0
clean: clean:
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile cffi_clean $(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile cffi_clean

View file

@ -92,7 +92,7 @@ run_testcase = \
# Clean # Clean
%.clean: %.clean:
@exit 0
clean: clean:
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile chicken_clean $(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile chicken_clean

View file

@ -44,8 +44,7 @@ run_testcase = \
# Clean: (does nothing, we dont generate extra clisp code) # Clean: (does nothing, we dont generate extra clisp code)
%.clean: %.clean:
@exit 0
clean: clean:
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile clisp_clean $(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile clisp_clean

View file

@ -46,9 +46,8 @@ include $(srcdir)/../common.mk
$(COMPILETOOL) diff -c $*.stderr $*.$(ERROR_EXT) $(COMPILETOOL) diff -c $*.stderr $*.$(ERROR_EXT)
%.clean: %.clean:
@exit 0
clean: clean:
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile $(LANGUAGE)_clean $(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile $(LANGUAGE)_clean
@rm -f *.$(ERROR_EXT) *.py @rm -f *.$(ERROR_EXT) *.py

View file

@ -52,7 +52,7 @@ run_testcase = \
# Clean: (does nothing, we dont generate extra lua code) # Clean: (does nothing, we dont generate extra lua code)
%.clean: %.clean:
@exit 0
clean: clean:
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile lua_clean $(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile lua_clean

View file

@ -42,7 +42,7 @@ run_testcase = \
# Clean # Clean
%.clean: %.clean:
@exit 0
clean: clean:
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile mzscheme_clean $(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile mzscheme_clean

View file

@ -46,4 +46,3 @@ run_testcase = \
clean: clean:
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile pike_clean $(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile pike_clean

View file

@ -190,4 +190,3 @@ hugemod:
$(MAKE) hugemod_b.cpptest $(MAKE) hugemod_b.cpptest
sh -c "time $(PYTHON) $(hugemod_runme)" sh -c "time $(PYTHON) $(hugemod_runme)"
sh -c "time $(PYTHON) $(hugemod_runme)" sh -c "time $(PYTHON) $(hugemod_runme)"

View file

@ -74,5 +74,3 @@ clean:
rm -f $${f}.R $${f}.Rout ; \ rm -f $${f}.R $${f}.Rout ; \
done \ done \
fi fi

View file

@ -66,7 +66,7 @@ run_testcase = \
# Clean # Clean
%.clean: %.clean:
@exit 0
clean: clean:
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile ruby_clean $(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile ruby_clean

View file

@ -51,7 +51,7 @@ run_testcase = \
# Clean # Clean
%.clean: %.clean:
@exit 0
clean: clean:
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile tcl_clean $(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile tcl_clean

View file

@ -44,8 +44,7 @@ run_testcase = \
# Clean: (does nothing, we dont generate extra uffi code) # Clean: (does nothing, we dont generate extra uffi code)
%.clean: %.clean:
@exit 0
clean: clean:
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile uffi_clean $(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile uffi_clean

View file

@ -1,4 +1,3 @@
co: co:
co RCS/*.i* RCS/*.swg* co RCS/*.i* RCS/*.swg*

View file

@ -1,4 +1,3 @@
co: co:
co RCS/*.i* RCS/*.swg* co RCS/*.i* RCS/*.swg*

View file

@ -118,9 +118,3 @@ $(TARGET): $(WRAPOBJ) $(ALLOBJS)
clean: clean:
rm -f $(COBJS) $(CXXOBJS) $(OBJCOBJS) $(WRAPOBJ) $(WRAPFILE) $(TARGET) rm -f $(COBJS) $(CXXOBJS) $(OBJCOBJS) $(WRAPOBJ) $(WRAPFILE) $(TARGET)

View file

@ -17,5 +17,3 @@ WriteMakefile(
'LIBS' => [''], # Custom libraries (if any) 'LIBS' => [''], # Custom libraries (if any)
'OBJECT' => '$module_wrap.o' # Object files 'OBJECT' => '$module_wrap.o' # Object files
); );

View file

@ -117,7 +117,3 @@ $(TARGET): $(WRAPOBJ) $(ALLOBJS)
clean: clean:
rm -f $(COBJS) $(CXXOBJS) $(OBJCOBJS) $(WRAPOBJ) $(WRAPFILE) $(TARGET) rm -f $(COBJS) $(CXXOBJS) $(OBJCOBJS) $(WRAPOBJ) $(WRAPFILE) $(TARGET)

View file

@ -120,7 +120,3 @@ $(TARGET): $(WRAPOBJ) $(ALLOBJS)
clean: clean:
rm -f $(COBJS) $(CXXOBJS) $(OBJCOBJS) $(WRAPOBJ) $(WRAPFILE) $(TARGET) rm -f $(COBJS) $(CXXOBJS) $(OBJCOBJS) $(WRAPOBJ) $(WRAPFILE) $(TARGET)

View file

@ -145,4 +145,3 @@ beautify-file:
indent -kr --honour-newlines --line-length160 --indent-level2 --braces-on-func-def-line --leave-optional-blank-lines $(SWIGTYPEDEFS) $(INDENTFILE) -o $(INDENTFILE).tmp; indent -kr --honour-newlines --line-length160 --indent-level2 --braces-on-func-def-line --leave-optional-blank-lines $(SWIGTYPEDEFS) $(INDENTFILE) -o $(INDENTFILE).tmp;
cat $(INDENTFILE).tmp | sed -e 's/const const /const /' > $(INDENTFILE); cat $(INDENTFILE).tmp | sed -e 's/const const /const /' > $(INDENTFILE);
rm $(INDENTFILE).tmp; rm $(INDENTFILE).tmp;