[LON-CAPA-cvs] cvs: capa /capa51/pProj Makefile

raeburn raeburn at source.lon-capa.org
Wed Jul 28 12:28:16 EDT 2021


raeburn		Wed Jul 28 16:28:16 2021 EDT

  Modified files:              
    /capa/capa51/pProj	Makefile 
  Log:
  - Eliminate fatal error (missing capaFormulaParser.h) when building capa.so
    on Fedora 34
  
  
Index: capa/capa51/pProj/Makefile
diff -u capa/capa51/pProj/Makefile:1.24 capa/capa51/pProj/Makefile:1.25
--- capa/capa51/pProj/Makefile:1.24	Wed Jul  8 18:20:11 2020
+++ capa/capa51/pProj/Makefile	Wed Jul 28 16:28:15 2021
@@ -150,26 +150,26 @@
 
 capaToken.h: capaGrammarDef.y
 	$(YACC) -y -d $< --output=capaParserFun.c
-	mv capaParserFun.h capaToken.h
+	cp capaParserFun.h capaToken.h
 
 capaFormula.h: capaFormula.y
 	$(YACC) -y -d $< -p fml_ --output=$@
-	mv capaFormulaParser.h capaFormula.h
+	cp capaFormulaParser.h capaFormula.h
 
 capaParserFun.c: capaGrammarDef.y
 	$(YACC) -y -d $< --output=$@
-	mv capaParserFun.h capaToken.h
+	cp capaParserFun.h capaToken.h
 
 capaLexerFun.c: capaLexerDef.flex capaToken.h
 	$(LEX) -o$@ $<
 
 capaFormulaParser.c: capaFormula.y
 	$(YACC) -y -d $< -p fml_ --output=$@
-	mv capaFormulaParser.h capaFormula.h
+	cp capaFormulaParser.h capaFormula.h
 
 clean:
 	rm -f $(ARCH)/*.o
 	rm -f $(ARCH)/libcapa$(VER).a
 	rm -f capaToken.h capaParserFun.c capaLexerFun.c capaFormula.h \
-		capaFormulaParser.c
+		capaFormulaParser.c capaFormulaParser.h capaParserFun.h
 




More information about the LON-CAPA-cvs mailing list