Reverted part of Suokko's 2008-08-20T13:55:07Z!paniemin@cc.hut.fi. (Fix for bug #13294, no localedef.)

That patch was also touching scons and cmake, I have no clue what he did there, so please review if it needs reverting there too.
This commit is contained in:
Guillaume Melquiond 2009-04-12 07:20:10 +00:00
parent ad32444b5a
commit 3befa43159

View File

@ -84,7 +84,7 @@ if INSTALLDATA
echo $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; cd ..; \
done
#if DUMMYLOCALES
if DUMMYLOCALES
@echo "Create dummy locales beneath the Wesnoth data directory"
$(mkdir_p) "$(DESTDIR)$(pkgdatadir)/locales"
if test -d "$(DESTDIR)$(pkgdatadir)/locales/C" ; then rm -r "$(DESTDIR)$(pkgdatadir)/locales/C" ; fi
@ -94,7 +94,7 @@ if INSTALLDATA
if test -L "$$loclnk" ; then rm "$$loclnk" ; fi; \
ln -s C "$$loclnk"; done; \
true
#endif
endif
if TINYGUI
@echo "Shrink installed images by a factor of two."
(cd $(top_srcdir) && find data/core/images data/campaigns images \( $(findfilterflags) -a -name '*.png' -and -not -name 'bar-energy-tinygui.png' -print \) ) | while read p; do \