Browse Source

* distclean removes msgtxt.inc and msgidx.inc, resolves #40861

florian 1 year ago
parent
commit
28704b2976
2 changed files with 2 additions and 1 deletions
  1. 1 0
      compiler/Makefile
  2. 1 1
      compiler/Makefile.fpc

+ 1 - 0
compiler/Makefile

@@ -5151,6 +5151,7 @@ cycleclean: cleanall $(addsuffix _clean,$(CPC_TARGET))
 	-$(DEL) $(EXENAME)
 clean: tempclean execlean cleanall $(addsuffix _clean,$(CPC_TARGET)) $(addsuffix _clean,$(TARGET_DIRS))
 distclean: tempclean execlean cleanall $(addsuffix _clean,$(ALLTARGETS) $(BETATARGETS)) $(addsuffix _distclean,$(TARGET_DIRS))
+	-$(DEL) msgtxt.inc msgidx.inc
 $(MSG2INC): $(COMPILER_TARGETDIR) $(COMPILER_UNITTARGETDIR) $(COMPILERUTILSDIR)/msg2inc.pp
 	$(COMPILER) -FE. $(COMPILERUTILSDIR)/msg2inc.pp
 msgtxt.inc: $(MSGFILE)

+ 1 - 1
compiler/Makefile.fpc

@@ -774,7 +774,7 @@ cycleclean: cleanall $(addsuffix _clean,$(CPC_TARGET))
 clean: tempclean execlean cleanall $(addsuffix _clean,$(CPC_TARGET)) $(addsuffix _clean,$(TARGET_DIRS))
 
 distclean: tempclean execlean cleanall $(addsuffix _clean,$(ALLTARGETS) $(BETATARGETS)) $(addsuffix _distclean,$(TARGET_DIRS))
-
+        -$(DEL) msgtxt.inc msgidx.inc
 
 #####################################################################
 # Make targets