Skip to content
Snippets Groups Projects
Commit 2c8ccef9 authored by Fons Rademakers's avatar Fons Rademakers
Browse files

make scripts silent in case they don't update compiledate.h and configcint.h.

git-svn-id: http://root.cern.ch/svn/root/trunk@21465 27541ba8-7e3a-0410-8455-c3a389f83636
parent 976bfd3c
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,6 @@ fi
rm -f __compiledata
echo "Running $0"
echo "/* This is file is automatically generated */" > __compiledata
echo "#define BUILD_ARCH \"$ARCH\"" >> __compiledata
echo "#define BUILD_NODE \""`uname -a`"\" " >> __compiledata
......@@ -114,11 +113,13 @@ echo "#define SOEXT \"$SOEXT\" " >> __compiledata
if [ -r $COMPILEDATA ]; then
diff __compiledata $COMPILEDATA > /dev/null; status=$?;
if [ "$status" -ne "0" ]; then
echo "Running $0"
echo "Changing $COMPILEDATA"
mv __compiledata $COMPILEDATA;
else
rm -f __compiledata; fi
else
echo "Running $0"
echo "Making $COMPILEDATA"
mv __compiledata $COMPILEDATA; fi
)
......
# Makefile include to build configcint.h (aka $@)
$(CINTCONF): config/Makefile.$(ARCH) config/Makefile.comp $(CINTCONFMK)
@-rm -f __configcint
@echo Running cint/configcint.mk
@echo '/* Generated by cint/Module.mk */' > __configcint
@( case $(ARCH) in \
win32) \
......@@ -81,12 +80,14 @@ $(CINTCONF): config/Makefile.$(ARCH) config/Makefile.comp $(CINTCONFMK)
@(if [ -r $@ ]; then \
diff __configcint $@ > /dev/null; status=$$?; \
if [ "$$status" -ne 0 ]; then \
echo "Running cint/configcint.mk"; \
echo "Changing $@"; \
mv __configcint $@; \
else \
rm -f __configcint; \
fi \
else \
echo "Running cint/configcint.mk"; \
echo "Making $@"; \
mv __configcint $@; \
fi \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment