Ver Fonte

do not translate changelog with po4a (for now)

We'll use some script to auto-translate most of it.
Xℹ Ruoyao há 4 anos atrás
pai
commit
6d718d0412
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      Makefile

+ 3 - 2
Makefile

@@ -1,6 +1,7 @@
 LFS_EN = /home/xry111/svn-repos/LFS-BOOK
 MLANG=zh_CN
-XML_FILES = $(shell find $(LFS_EN) -type f -name '*.xml')
+ALL_XML_FILES = $(shell find $(LFS_EN) -type f -name '*.xml')
+XML_FILES = $(filter-out $(LFS_EN)/chapter01/changelog.xml, $(ALL_XML_FILES))
 PO_FILES = $(patsubst $(LFS_EN)/%.xml, $(MLANG)/%.po, $(XML_FILES))
 
 run: $(PO_FILES)
@@ -27,4 +28,4 @@ $(MLANG)/book/%: $(LFS_EN)/%
 	cp -v $< $@
 
 test:
-	echo $(BOOK_FILES)
+	echo $(XML_FILES)