[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Makefile.in.in fails when gettext not installed (patch)
From: |
Yann Dirson |
Subject: |
Makefile.in.in fails when gettext not installed (patch) |
Date: |
Fri, 10 Sep 2004 00:54:08 +0200 |
User-agent: |
Mutt/1.5.6+20040523i |
In the .po.gmo rule, we read:
cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o
t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
When gettext is not installed, GMSGFMT is ":", and always succeeds,
although it does not create t-$${lang}.gmo, which makes the command
fail, and with it the full package build.
The following allows things to work as expected:
... && if test -e t-$${lang}.gmo; then mv t-$${lang}.gmo $${lang}.gmo; fi
--
Yann Dirson <address@hidden> |
Debian-related: <address@hidden> | Support Debian GNU/Linux:
| Freedom, Power, Stability, Gratis
http://ydirson.free.fr/ | Check <http://www.debian.org/>
- Makefile.in.in fails when gettext not installed (patch),
Yann Dirson <=