new build rules, same changes as in ticket 12 of mrw-c++; refs #14

This commit is contained in:
Marc Wäckerlin
2015-02-19 08:45:38 +00:00
parent 48e9184f11
commit 72169a5779
16 changed files with 555 additions and 278 deletions

View File

@@ -1,11 +1,11 @@
prefix=@PACKAGENAME@
prefix=@PACKAGE_NAME@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: @PACKAGENAME@
Name: @PACKAGE_NAME@
Description: C++ wrappers around pcsc-lite, cryptoki, openssh
Version: @VERSION@
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lxml-cxx
Libs.private:
Cflags: -I${includedir}

View File

@@ -9,8 +9,8 @@
namespace xml {
std::string version() {
return "@PACKAGENAME@-@VERSION@";
return "@PACKAGE_NAME@-@PACKAGE_VERSION@";
}
const std::string WHAT("#(@) @PACKAGENAME@-@VERSION@");
const std::string IDENT("$Id: @PACKAGENAME@-@VERSION@ $");
const std::string WHAT("#(@) @PACKAGE_NAME@-@PACKAGE_VERSION@");
const std::string IDENT("$Id: @PACKAGE_NAME@-@PACKAGE_VERSION@ $");
}