在 2017年09月22日 13:54, Beatrice Torracca 写道: > On venerdì 22 settembre 2017, at 09:21 +0800, atzlinux wrote: >> On my notebook, git pull the newest version,I use "make test >> LANGPO=it" ,it can compile the it html success,no any errors display. >> >> Can you try "make distclean",then "make test LANGPO=it" ? > Hi! > > thanks for the reply. I tried that. > > Now I don't get all those errors but I have a different message: > > ==== > sed -e 's/@-@amp@-@/\&/g' -e 's/@-@\([^@]\+\)@-@/\&\1;/g' > > debian-reference.en.xml > ******** You are missing ENTITY files ******* > > ********************************************* > run "make entity" > ********************************************* > Makefile:171: set di istruzioni per l'obiettivo "datadatepop.ent" non riuscito > make: *** [datadatepop.ent] Errore 1 > > I will try the make entity command then ... I need to install some > packages for that so I have to wait. I will report the results :) You man run: git checkout datadatepop.ent datadatesize.ent popcon.ent pkgsize.ent
These files is already in git. > > I found out another problem though. > > The command "make dist clean" erased the temporary directory in my > home folder. ~/.tmp . > > Not the content, the whole directory itself, which made other programs > start to complain or behaving badly since they were using the > temporary directory. I think the Makefile script could be corrected to > not delete the directory itself. Actually I think that even deleting > the whole content is bad enough, since some other program could have > stored some temporary valuable data there. > > Maybe just not using $(TMPDIR) at all but just $(CURDIR)/tmp ? I just look the Makefile,find the reason: ifndef TMPDIR TMPDIR := $(CURDIR)/tmp endif # $ make clean # clean files ready for tar ####################################################################### .PHONY: clean clean: -rm -f *.swp *~ *.tmp -rm -f $(DPO)/*~ $(DPO)/*.mo $(DPO)/*.po.* -rm -f $(DASC)/*~ -rm -rf $(TMPDIR) $(CURDIR)/tmp In my notebook OS,I don't definite the ENVIRONMENT variable TMPDIR before. The command "env|grep TMPDIR" has no output. so $(TMPDIR) and $(CURDIR)/tmp is the same dir on my OS. "make distclean" don't erased the temporary directory in my home folder. ~/.tmp . I guess your OS had already definited the ENVIRONMENT variable TMPDIR before,the value is ~/.tmp . To deal with this question,My suggestion is modify Makefile: diff --git a/Makefile b/Makefile index 22d15e9..1067e0b 100644 --- a/Makefile +++ b/Makefile @@ -127,7 +127,7 @@ clean: -rm -f *.swp *~ *.tmp -rm -f $(DPO)/*~ $(DPO)/*.mo $(DPO)/*.po.* -rm -f $(DASC)/*~ - -rm -rf $(TMPDIR) $(CURDIR)/tmp + -rm -rf $(CURDIR)/tmp -rm -f $(addsuffix .xml, $(addprefix $(MANUAL)., $(LANGALL))) -rm -f $(MANUAL).en.xml $(MANUAL).en.xmlt header.txt -rm -f $(RCACHE) Would you report bug to the package debian-reference ? Thanks for your feedback! Faris Xiao > > Thanks for the help, > > beatrice. > > -- 翻译状态 <https://hosted.weblate.org/engage/debian-reference/zh_Hans/?utm_source=widget>

