Re: "make" broken?

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

 



I can't reproduce it (I tried it with "git archive" instead of
"git clone", but this shouldn't make a difference).  Both make-3.81 and
make-3.82 worked fine.

Which command did you try? Just "make"?

Does "make --debug" give some useful information?
Does it work with "make -r"?

Do you get the same result with the attached Makefile?

Ulf

-- 
Jeder Staat beruht auf Macht, jede Macht auf Gewalt, und
Gewalt, sagt Einstein, zieht stets moralisch Minderwertige an.
		-- Karlheinz Deschner
PO_LANGS = de fr
POT_FILES = pot/foo.pot pot/bar/baz.pot

all: $(foreach LANG,$(PO_LANGS),po-$(LANG))
	@echo "Making $@ ($?)"

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
	@echo "Making $$@ ($$?)"
po-$(1): $$($(1)_PO_FILES)
	@echo "Making $$@ ($$?)"
endef

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

$(POT_FILES):
	@echo Making $@

FORCE:
	@echo Making $@
_______________________________________________
gimp-docs-list mailing list
gimp-docs-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gimp-docs-list

[Index of Archives]     [Video For Linux]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [Scanners]     [GEGL]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux