summaryrefslogtreecommitdiffstats
path: root/solenv/makefile.mk
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2011-12-10 16:47:02 +0100
committerAndras Timar <atimar@suse.com>2011-12-10 22:25:28 +0100
commit3fbedc3e8f65c91999dcee42daa8312e387dcf40 (patch)
tree77e876cf4bfbe75c9b0126f8590287e1909c5a1b /solenv/makefile.mk
parentfix build with MSVC (diff)
downloadcore-3fbedc3e8f65c91999dcee42daa8312e387dcf40.tar.gz
core-3fbedc3e8f65c91999dcee42daa8312e387dcf40.zip
enhance VersionInfo resource of Windows excutables
+ added ProductName (a required parameter), It is LibreOffice + CompanyName is configurable, it is $(OOO_VENDOR), that is set --with-vendor configure switch. If not set, then CompanyName is empty string which is fine, too. + Binary file version and FileVersion string show the same value, and version number is sane: main version + subversion + microversion + build number, such as 3.5.0.0 + LegalCopyright text is the same as in the About box, year range can be set in minor.mk - removed archaic and overcomplicated version number calculating macros - removed version.lst, copied relevant content to minor.mk - removed binary RCDATA resources, I don't think they were of any use
Diffstat (limited to 'solenv/makefile.mk')
-rwxr-xr-xsolenv/makefile.mk13
1 files changed, 5 insertions, 8 deletions
diff --git a/solenv/makefile.mk b/solenv/makefile.mk
index 54d67dbfe2c7..4d806057f1f4 100755
--- a/solenv/makefile.mk
+++ b/solenv/makefile.mk
@@ -32,14 +32,11 @@ TARGET=init
# --- Settings ----------------------------------
.INCLUDE : settings.mk
.INCLUDE : target.mk
-.INCLUDE : version.lst
ALLTAR : $(INCCOM)/versionlist.hrc
-$(INCCOM)/versionlist.hrc : ./inc/version.lst
- $(COMMAND_ECHO)echo "#define VERSION $(OOOBASEVERSIONMAJOR)" > $@
- $(COMMAND_ECHO)echo "#define SUBVERSION $(OOOBASEVERSIONMINOR)" >> $@
- $(COMMAND_ECHO)echo "#define MICROVERSION $(OOOBASEVERSIONMICRO)" >> $@
- $(COMMAND_ECHO)echo "#define VER_DAY $(OOOBASEVERSIONDAY)" >> $@
- $(COMMAND_ECHO)echo "#define VER_MONTH $(OOOBASEVERSIONMONTH)" >> $@
- $(COMMAND_ECHO)echo "#define VER_YEAR $(OOOBASEVERSIONYEAR)" >> $@
+$(INCCOM)/versionlist.hrc : ./inc/minor.mk
+ $(COMMAND_ECHO)echo "#define VERSION $(VERSIONMAJOR)" > $@
+ $(COMMAND_ECHO)echo "#define SUBVERSION $(VERSIONMINOR)" >> $@
+ $(COMMAND_ECHO)echo "#define MICROVERSION $(VERSIONMICRO)" >> $@
+ $(COMMAND_ECHO)echo "#define VER_YEARRANGE $(COPYRIGHTYEARRANGE)" >> $@