1. binet
  2. mana-core-codecheck

Commits

alb...@4525493e-7705-40b1-a816-d608a930855b  committed 2ff9948

minor bug fix - see ChangeLog

  • Participants
  • Parent commits 2b285bb
  • Branches default

Comments (0)

Files changed (2)

File ChangeLog

View file
  • Ignore whitespace
+2005-04-07 Solveig Albrand <solveig.albrand@lpsc.in2p3.fr>
+	* 01-02-01
+	* bug fix  - was copying a file too early so 
+	* it only worked the second time.
+	
 2005-04-06 Solveig Albrand <solveig.albrand@lpsc.in2p3.fr>
+        * 01-02-00
 	* version 2.5 of rulechecker more parsing problems cured
 	* removed codewizard stuff I forgot last time
 	* corrected selection of rules subsets, which was no longer working

File cmt/fragments/rulechecker_header

View file
  • Ignore whitespace
 endif
 
 SELECTED_RULES_FILE = all_RULES
-ACTUAL_CONFIG = ${IRST_CONFIG_DIR}
+ACTUAL_CONFIG = ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}
 ifeq ($(SELECTED_RULES), naming)
  	 SELECTED_RULES_FILE = naming_RULES
-	 ACTUAL_CONFIG = ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}
+	 
 endif
 ifeq ($(SELECTED_RULES), required)
  	 SELECTED_RULES_FILE = required_RULES
-	 ACTUAL_CONFIG = ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}
+	
 endif
 ifeq ($(SELECTED_RULES), recommended)
  	 SELECTED_RULES_FILE = recommended_RULES
-	 ACTUAL_CONFIG = ${CODECHECK_OUTPUT_DIRECTORY}${CCTMP}
+
 endif
  
 ${CONSTITUENT}_output = ${CODECHECK_OUTPUT_DIRECTORY}${RULECHECKER}${RULECHECKER_SUFFIX}
 	$(cpp_echo) $@
 	$(cpp_silent) cd $(bin); 
 	$(cpp_silent) if test  -d ${PACKAGE_ROOT}/src/; then \
-	  /bin/ln -fs ${ACTUAL_CONFIG} ${IRST_DIR}/config; \
-	  /bin/cp ${IRST_CONFIG_DIR}/config* ${ACTUAL_CONFIG}; \
-	  /bin/cp ${IRST_CONFIG_DIR}/${SELECTED_RULES_FILE} ${ACTUAL_CONFIG}/config_RULES; \
 	  if test ! -d $(CODECHECK_OUTPUT_DIRECTORY) ; then ${mkdir} $(CODECHECK_OUTPUT_DIRECTORY); fi;\
 	  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;\
+	  /bin/cp ${IRST_CONFIG_DIR}/config* ${ACTUAL_CONFIG}; \
+	  /bin/cp ${IRST_CONFIG_DIR}/${SELECTED_RULES_FILE} ${ACTUAL_CONFIG}/config_RULES; \
 	fi;