Commits

Anonymous committed 0f0284b

added doti directory

Comments (0)

Files changed (5)

+2005-06-08 Solveig Albrand <solveig.albrand@lpsc.in2p3.fr>
+	* 01-02-02
+	* introduced a directory 
+	* to store the *.i precompiled files.
+	
 2005-04-07 Solveig Albrand <solveig.albrand@lpsc.in2p3.fr>
 	* 01-02-01
 	* bug fix  - was copying a file too early so 

cmt/fragments/rulechecker

 	$(cpp_silent) if test -f  ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}/${NAME}.cxx; then \
 	  $(cppcomp) -E $(use_pp_cppflags) $(${CONSTITUENT}_pp_cppflags) $(app_${CONSTITUENT}_pp_cppflags) $(${NAME}_pp_cppflags) $(use_cppflags)$(${CONSTITUENT}_cppflags)$(app_${CONSTITUENT}_cppflags)$(${NAME}_cppflags) $(${NAME}_${FILESUFFIX}_cppflags) ${ADDINCLUDE}  -o   ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}/${NAME}.i  ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}/${NAME}.cxx;\
 	  $(atlas_patch_command)  ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}/${NAME}.i   ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}/${NAME}.tmp;\
-	  /bin/mv  ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}/${NAME}.tmp  ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}/${NAME}.i;\
+	  /bin/cp  ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}/${NAME}.tmp  ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}/${NAME}.i;\
+	  /bin/mv  ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}/${NAME}.tmp  ${CODECHECK_OUTPUT_DIRECTORY}${DOTI}/${NAME}.i;\
 	fi;  
 
 	

cmt/fragments/rulechecker_header

 	  if test ! -d $(CODECHECK_OUTPUT_DIRECTORY)${RULECHECKER} ; then ${mkdir} $(CODECHECK_OUTPUT_DIRECTORY)${RULECHECKER}; fi;\
 	  if test ! -d $(${CONSTITUENT}_output) ; then ${mkdir} $(${CONSTITUENT}_output); fi;\
 	  if test ! -d  ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP} ; then ${mkdir}  ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}; fi;\
+	  if test ! -d  ${CODECHECK_OUTPUT_DIRECTORY}${DOTI} ; then ${mkdir}  ${CODECHECK_OUTPUT_DIRECTORY}${DOTI}; fi;\
 	  /bin/cp ${IRST_CONFIG_DIR}/config* ${ACTUAL_CONFIG}; \
 	  /bin/cp ${IRST_CONFIG_DIR}/${SELECTED_RULES_FILE} ${ACTUAL_CONFIG}/config_RULES; \
 	fi;

cmt/fragments/rulechecker_trailer

 finish::
 	$(cpp_silent) if test  -d ${PACKAGE_ROOT}/src/; then \
 	  echo cleaning up ;\
-	  /bin/rm -f ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}/*.i;\
-	  /bin/rm -f ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}/*.ii;\
-	  /usr/bin/find ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP} -type l -name '*.h' -exec /bin/rm -f {} \;;\
 	  /bin/rm -rf ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP};\
 	fi;
 	@echo cleaning up done;
  macro SELECTED_RULES "" CodeCheck "all"
 
  macro CCTMP "" CodeCheck "/CCTMP"
+ macro DOTI "" CodeCheck "/DOTI"