Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
Remove unnecessary version numbers and have only one source of the ve…
Browse files Browse the repository at this point in the history
…rsion.
  • Loading branch information
rrthomas committed Oct 4, 2012
1 parent 4d23cfb commit 49b14d8
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 11 deletions.
4 changes: 2 additions & 2 deletions LICENSE
@@ -1,5 +1,5 @@
License of Lrexlib release 2.6
------------------------------
License of Lrexlib release
--------------------------

Copyright (C) Reuben Thomas 2000-2012
Copyright (C) Shmuel Zeigerman 2004-2012
Expand Down
4 changes: 2 additions & 2 deletions README.rst
@@ -1,5 +1,5 @@
Lrexlib 2.6
===========
Lrexlib
=======

| by Reuben Thomas (rrt@sc3d.org)
| and Shmuel Zeigerman (shmuz@013net.net) [maintainer]
Expand Down
2 changes: 1 addition & 1 deletion doc/license.html
Expand Up @@ -5,7 +5,7 @@
</head>
<body>

<h2>Lrexlib 2.6</h2>
<h2>Lrexlib</h2>
<p>Copyright &copy; Reuben Thomas 2000-2012<br>
Copyright &copy; Shmuel Zeigerman 2004-2012

Expand Down
4 changes: 2 additions & 2 deletions doc/manual.txt
@@ -1,7 +1,7 @@
.. role:: funcdef(literal)

Lrexlib 2.6 Reference Manual
============================
Lrexlib Reference Manual
========================

.. contents:: Table of Contents

Expand Down
13 changes: 11 additions & 2 deletions rockspecs.lua
Expand Up @@ -45,6 +45,7 @@ PCRE = {
type = "builtin",
modules = {
rex_pcre = {
defines = {"VERSION=\""..version.."\""},
sources = {"src/common.c", "src/pcre/lpcre.c", "src/pcre/lpcre_f.c"},
libraries = {"pcre"},
incdirs = {"$(PCRE_INCDIR)"},
Expand All @@ -63,7 +64,10 @@ POSIX = {
build = {
type = "builtin",
modules = {
rex_posix = {"src/common.c", "src/posix/lposix.c"}
rex_posix = {
defines = {"VERSION=\""..version.."\""},
sources = {"src/common.c", "src/posix/lposix.c"}
}
}
}
},
Expand All @@ -79,6 +83,7 @@ oniguruma = {
type = "builtin",
modules = {
rex_onig = {
defines = {"VERSION=\""..version.."\""},
sources = {"src/common.c", "src/oniguruma/lonig.c", "src/oniguruma/lonig_f.c"},
libraries = {"onig"},
incdirs = {"$(ONIG_INCDIR)"},
Expand All @@ -99,6 +104,7 @@ TRE = {
type = "builtin",
modules = {
rex_tre = {
defines = {"VERSION=\""..version.."\""},
sources = {"src/common.c", "src/tre/ltre.c" --[[, "src/tre/tre_w.c"]]},
libraries = {"tre"},
incdirs = {"$(TRE_INCDIR)"},
Expand All @@ -117,7 +123,10 @@ GNU = {
build = {
type = "builtin",
modules = {
rex_posix = {"src/common.c", "src/gnu/lgnu.c"}
rex_posix = {
defines = {"VERSION=\""..version.."\""},
source = {"src/common.c", "src/gnu/lgnu.c"}
}
}
}
},
Expand Down
3 changes: 1 addition & 2 deletions src/algo.h
Expand Up @@ -3,8 +3,7 @@

#include "common.h"

/* FIXME: Get version from defaults.mak */
#define REX_VERSION "Lrexlib 2.6.0"
#define REX_VERSION "Lrexlib " VERSION

/* Forward declarations */
static void gmatch_pushsubject (lua_State *L, TArgExec *argE);
Expand Down

0 comments on commit 49b14d8

Please sign in to comment.