diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-07-17 21:03:40 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-07-17 21:03:40 +0000 |
| commit | 70586fa27b270f48e36b5f92f0acf803eb723e6a (patch) | |
| tree | e47ccad7e06b47d5b692e686344eda3956298ae5 /src/extension/internal/latex-pstricks.cpp | |
| parent | Cleanup: eliminate require-config.h (diff) | |
| download | inkscape-70586fa27b270f48e36b5f92f0acf803eb723e6a.tar.gz inkscape-70586fa27b270f48e36b5f92f0acf803eb723e6a.zip | |
Cleanup: eliminate version from config.h
The idea behind inkscape-version.h / inkscape-version.cpp is to
avoid rebuilding most of the code base when the version number
changes. Defining a version number in config.h defeats this purpose.
Diffstat (limited to 'src/extension/internal/latex-pstricks.cpp')
| -rw-r--r-- | src/extension/internal/latex-pstricks.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/extension/internal/latex-pstricks.cpp b/src/extension/internal/latex-pstricks.cpp index ae8f30a5c..018c56d82 100644 --- a/src/extension/internal/latex-pstricks.cpp +++ b/src/extension/internal/latex-pstricks.cpp @@ -25,6 +25,7 @@ #include "extension/print.h" #include "extension/system.h" +#include "inkscape-version.h" #include "io/sys.h" #include "latex-pstricks.h" #include "sp-item.h" @@ -121,8 +122,8 @@ unsigned int PrintLatex::begin (Inkscape::Extension::Print *mod, SPDocument *doc if (res >= 0) { - os << "%%Creator: " << PACKAGE_STRING << "\n"; - os << "%%Please note this file requires PSTricks extensions\n"; + os << "%%Creator: Inkscape " << Inkscape::version_string << "\n"; + os << "%%Please note this file requires PSTricks extensions\n"; os << "\\psset{xunit=.5pt,yunit=.5pt,runit=.5pt}\n"; // from now on we can output px, but they will be treated as pt |
