소스 검색

Don't hardcode libmodbus version number in modbus.dll.manifest

Stéphane Raimbault 12 년 전
부모
커밋
16d3cacc7a
4개의 변경된 파일11개의 추가작업 그리고 18개의 파일을 삭제
  1. 2 1
      .gitignore
  2. 1 0
      configure.ac
  3. 7 16
      src/win32/Readme-win32
  4. 1 1
      src/win32/modbus.dll.manifest.in

+ 2 - 1
.gitignore

@@ -22,7 +22,8 @@ missing
 m4/
 libmodbus.pc
 libmodbus.spec
-modbus-version.h
+src/modbus-version.h
+src/win32/modbus.dll.manifest
 .deps
 .libs
 *.la

+ 1 - 0
configure.ac

@@ -139,6 +139,7 @@ AC_CONFIG_FILES([
         Makefile
         src/Makefile
         src/modbus-version.h
+        src/win32/modbus.dll.manifest
         doc/Makefile
         tests/Makefile
         libmodbus.pc

+ 7 - 16
src/win32/Readme-win32

@@ -1,26 +1,17 @@
-
 Intro
 -----
 
-This directory contains the project file for Visual
-Studio 2008 to build a modbus.dll.
-
-The project file searches for D:/include/msvc_std to
-find stdint.h. See ../../README.rst
-
-config.h and modbus-version.h were generated using
-a Windows native experimental port of zsh and Microsoft cl.
+This directory contains the project file for Visual Studio 2008 to build a
+modbus.dll.
 
-Please note that modbus.dll.manifest hardcodes
-the version number !
+The project file searches for D:/include/msvc_std to find stdint.h.
+See ../../README.rst
 
+config.h and modbus-version.h were generated using a Windows native experimental
+port of zsh and Microsoft cl.
 
 
 TODO
 ----
 
-Fix the ugly need to have config.h and modbus-version.h
-in this directory.
-
-
-oldfaber
+Fix the ugly need to have config.h and modbus-version.h in this directory.

+ 1 - 1
src/win32/modbus.dll.manifest → src/win32/modbus.dll.manifest.in

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
-<assemblyIdentity	version="3.1.0.1"	processorArchitecture="*"	name="modbus"/>
+<assemblyIdentity version="@LIBMODBUS_VERSION@"	processorArchitecture="*" name="modbus"/>
 <description>Zsh shell</description>
   <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
     <security>