From c9bee9ba8068bb11a61ff4a8ee64d01abce79b4a Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 16 Sep 2020 12:14:22 +0200 Subject: Fix fluid output for international languages The fluid version and other values in .fl files are written as float values which means that locale settings apply since we enabled the locale with "setlocale()". Update the "rebuild" target in fluid and src folders to update the fluid (.fl) files and related {.cxx|.h} files. --- src/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index c1409a59a..c2577c0d7 100644 --- a/src/Makefile +++ b/src/Makefile @@ -582,6 +582,16 @@ mgwfltknox_images-$(FL_DSO_VERSION).dll: $(IMGLIBNAME) mgwfltknox-$(FL_DSO_VERSI -L. -lfltk -Wl,--exclude-libs -Wl,libfltk_png.a \ $(IMAGELIBS) $(LDLIBS) +# Note: The rebuild target can only be used if you have the original .fl +# files. This is normally only used by the FLTK maintainers... +# It *must* be executed *after* fluid has been built and +# the libs must be rebuilt if any {.fl|.cxx|.h} files were changed. + +rebuild: + echo 'Rebuilding fluid (.fl) and .cxx/.h files from .fl files ...' + ../fluid/fluid$(EXEEXT) -u -c Fl_File_Chooser.fl + ../fluid/fluid$(EXEEXT) -u -c Fl_Help_Dialog.fl + clean: -$(RM) *.o xutf8/*.o *.dll.a core.* *~ *.bak *.bck -$(RM) drivers/Cocoa/*.o -- cgit v1.2.3