Re: [Gimp-docs] "make" broken?




Makefile:1220: ***Mixing implicit and static rules for the pattern. Stop.
/(messages translated)
Please, post line 1220 (plus a few line before and after line 1220).

Ulf


########################################################################
####            Make po files:  POT --> PO                          ####
########################################################################
#
define MAKE_PO_RULES
$(1)_PO_FILES = $$(patsubst pot/%.pot, po/$(1)/%.po, $$(POT_FILES))
ifeq ($$(filter po/$(1)/%.po,$$(MAKECMDGOALS)),)
$$($(1)_PO_FILES): po/$(1)/%.po : pot/%.pot
else
$$($(1)_PO_FILES): po/$(1)/%.po : pot/%.pot FORCE
endif
    $$(cmd) $$(call make_target_dir,$$@)
    $$(msg) "[PO]  $$@"
$$(cmd) if test -s $$<; then $$(call pot2po,$$<,$(1),$$@); else touch $$@; fi
po-$(1): $$($(1)_PO_FILES) cleanup-po-$(1)
    $$(cmd) if test -e messages.mo; then rm -f messages.mo; fi
cleanup-po-$(1):
ifeq ($$(srcdir),$$(builddir))
    $$(msg) "Cleaning up '$(1)' po files ..."
    $$(cmd) $(find_l) po/$(1)/ $$(po_file_predicates) | \
    while read pofile; do \
        potfile=pot/$$$${pofile#po/$(1)/}t; \
        test -e $$$${potfile} || rm -vf $$$${pofile}; \
    done
endif
endef

$(foreach LANG,$(PO_LANGS),$(eval $(call MAKE_PO_RULES,$(LANG))))

# Special case 'en': do nothing :-)
po-en: ;

# Print translation statistics

status-%: po-status-% ;
po-status-%: po-%
    $(cmd) perl $(srcdir)/tools/get_po_status.pl po/$*



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]