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

2012-02-28 Thread Julien Hardelin



No comma! Use ... ALL_LINGUAS="en fr"
I'll check how we can catch this invalid input.
Happy GIMPing again!


Oh! Great!
So small with so important consequencies.

Thank you very much for your help.

Julien
___
gimp-docs-list mailing list
gimp-docs-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-docs-list


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

2012-02-28 Thread Ulf-D. Ehlert
Aaaah! :)
It's so easy to overlook -- I found it when I compared the Makefiles:

On Tue, Feb 28, 2012 at 03:10:24PM +0100, Julien Hardelin wrote:
> ./autogen.sh --without-gimp ALL_LINGUAS="en, fr"

No comma! Use
... ALL_LINGUAS="en fr"

I'll check how we can catch this invalid input.

Happy GIMPing again!

Ulf


-- 
Wenn die Affen katholisch würden und der Kirche nützten,
ich bin sicher, sie sprächen einige heilig. - Aber haben
wir denn diesen Fall nicht schon?
-- Karlheinz Deschner
___
gimp-docs-list mailing list
gimp-docs-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-docs-list


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

2012-02-28 Thread Julien Hardelin

Le 28/02/2012 12:33, Ulf-D. Ehlert a écrit :

On Tue, Feb 28, 2012 at 08:49:01AM +0100, Julien Hardelin wrote:

You should get the same error after git pull and autogen...

The problem is that it works for me, so I can't fix it...

Very weird!
On another computer (32bit, Ubuntu 11.04):
git clone...gimp-help-2
cd gimp-help-2
./autogen.sh --without-gimp ALL_LINGUAS="en, fr"
make
I have the error!


Let's compare a) the tool versions (your make version is 3.82):

$ automake --version | head -n1
automake (GNU automake) 1.11.1
$ autoconf --version | head -n1
autoconf (GNU Autoconf) 2.68

julien@linux-meik:~/gimp-help-2> automake --version | head -n1
automake (GNU automake) 1.11.1
julien@linux-meik:~/gimp-help-2> autoconf --version | head -n1
autoconf (GNU Autoconf) 2.68



and b) the Makefile: send me your (compressed) Makefile.

I will then try to reproduce this error.


Attached.

Julien


Makefile.tar.gz
Description: GNU Zip compressed data
___
gimp-docs-list mailing list
gimp-docs-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-docs-list


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

2012-02-28 Thread Ulf-D. Ehlert
On Tue, Feb 28, 2012 at 08:49:01AM +0100, Julien Hardelin wrote:
> You should get the same error after git pull and autogen...

The problem is that it works for me, so I can't fix it...

Let's compare a) the tool versions (your make version is 3.82):

$ automake --version | head -n1
automake (GNU automake) 1.11.1
$ autoconf --version | head -n1
autoconf (GNU Autoconf) 2.68

and b) the Makefile: send me your (compressed) Makefile.

I will then try to reproduce this error.

> >Do you get the same result with the attached Makefile?
> No, I get this:
[...]

@!#@%?$^@
"Make" hates me... :(

Ulf


-- 
Pleonasmus: scheinheilig.
-- Karlheinz Deschner
___
gimp-docs-list mailing list
gimp-docs-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-docs-list


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

2012-02-27 Thread Julien Hardelin

Le 27/02/2012 20:52, Ulf-D. Ehlert a écrit :

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"?
I get the error with gimp-help-2 on 2 different hard disks: the new 
sandbox under opensuse-12.1, the old sandbox under opensuse-11.4. You 
should get the same error after git pull and autogen...

I tried make alone, and also make validate-en with the same result.


Does "make --debug" give some useful information?

No, it only gives the error. No more information.

/~/gimp-help-2> make --debug
GNU Make 3.82
Construit pour x86_64-unknown-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
Licence GPLv3+ : GNU GPL version 3 ou ultérieure 

Ceci est un logiciel libre : vous êtes autorisé à le modifier et à la 
redistribuer.

Il ne comporte AUCUNE GARANTIE, dans la mesure de ce que permet la loi.
Lecture des makefiles...
Makefile:496: xml/en,/.deps.mk: Aucun fichier ou dossier de ce type
Makefile:496: xml/fr/.deps.mk: Aucun fichier ou dossier de ce type
Makefile:1220: *** mélange de règles implicites et statiques pour le 
motif. Arrêt./



Does it work with "make -r"?

No, it gives the error.

/~/gimp-help-2> make -r
Makefile:496: xml/en,/.deps.mk: Aucun fichier ou dossier de ce type
Makefile:496: xml/fr/.deps.mk: Aucun fichier ou dossier de ce type
Makefile:1220: *** mélange de règles implicites et statiques pour le 
motif. Arrêt.

/


Do you get the same result with the attached Makefile?

No, I get this:

/~/gimp-help-2> make
Making pot/foo.pot
Making po/de/foo.po (pot/foo.pot)
Making pot/bar/baz.pot
Making po/de/bar/baz.po (pot/bar/baz.pot)
Making po-de (po/de/foo.po po/de/bar/baz.po)
Making po/fr/foo.po (pot/foo.pot)
Making po/fr/bar/baz.po (pot/bar/baz.pot)
Making po-fr (po/fr/foo.po po/fr/bar/baz.po)
Making all (po-de po-fr)

/Julien/
/

___
gimp-docs-list mailing list
gimp-docs-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-docs-list


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

2012-02-27 Thread Ulf-D. Ehlert
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@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-docs-list


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

2012-02-27 Thread Julien Hardelin



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/$*

___
gimp-docs-list mailing list
gimp-docs-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-docs-list


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

2012-02-27 Thread Ulf-D. Ehlert
On Mon, Feb 27, 2012 at 07:20:57AM +0100, Julien Hardelin wrote:
> /Makefile:496: xml/en,/.deps.mk: No file or folder of this type
> Makefile:496: xml/fr/.deps.mk: No file or folder of this type

These are just warnings, the missing files are created automatically.

> 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


-- 
Fanatismus ist die Willenskraft der Dummen, derer, die
zu allem fähig sind, sonst aber zu nichts.
-- Karlheinz Deschner
___
gimp-docs-list mailing list
gimp-docs-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-docs-list


[Gimp-docs] "make" broken?

2012-02-26 Thread Julien Hardelin

Hi,

In a new sandbox,, after autogen.sh, make gives the errors:

/Makefile:496: xml/en,/.deps.mk: No file or folder of this type
Makefile:496: xml/fr/.deps.mk: No file or folder of this type
Makefile:1220: ***Mixing implicit and static rules for the pattern. Stop.
/(messages translated)

In an old sandbox, before git pull, make runs normally. After git pull 
and autogen, I get the same errors.


There must be something broken in "make".

Julien
___
gimp-docs-list mailing list
gimp-docs-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gimp-docs-list