diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-09-16 12:14:22 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-09-16 12:15:54 +0200 |
| commit | c9bee9ba8068bb11a61ff4a8ee64d01abce79b4a (patch) | |
| tree | 54605e773a5b7bc354a9909ee2e7d9aa1e68d141 /src | |
| parent | e2a249fca99ab91e1bc472e3379c5bcad715221f (diff) | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
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 |
