Pārlūkot izejas kodu

Make all .po files depend on -all.pot, so make -j works.
Author: doogie
Date: 2002-11-09 06:32:56 GMT
Make all .po files depend on -all.pot, so make -j works.

Arch Librarian 22 gadi atpakaļ
vecāks
revīzija
c54ea1d798
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      po/makefile

+ 1 - 1
po/makefile

@@ -46,7 +46,7 @@ $(PO)/$(PACKAGE)-all.pot: $(POTFILES)
 # only the subtext needed for this domain
 # only the subtext needed for this domain
 # We cannot express the dependencies required for this directly with a pattern
 # We cannot express the dependencies required for this directly with a pattern
 # rule, so we use the .d hack.
 # rule, so we use the .d hack.
-$(LANG_POFILES) : %.po :
+$(LANG_POFILES) : %.po : $(PO)/$(PACKAGE)-all.pot
 	echo Generating $@
 	echo Generating $@
 	echo $@ : $(notdir $@) $(PO)/$(call GETDOMAIN,$*).pot > $(PO)/$(call GETDOMAIN,$*)_$(notdir $@).d
 	echo $@ : $(notdir $@) $(PO)/$(call GETDOMAIN,$*).pot > $(PO)/$(call GETDOMAIN,$*)_$(notdir $@).d
 	$(MSGMERGE) $(notdir $@) $(PO)/$(call GETDOMAIN,$*).pot -o $@
 	$(MSGMERGE) $(notdir $@) $(PO)/$(call GETDOMAIN,$*).pot -o $@