bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doc: an introductory example for C++


From: Akim Demaille
Subject: Re: doc: an introductory example for C++
Date: Wed, 24 Oct 2018 06:31:59 +0200


> Le 24 oct. 2018 à 06:22, Akim Demaille <address@hidden> a écrit :
> 
> commit a4dce889a44a7d363ce670585704876857543a5e
> Author: Akim Demaille <address@hidden>
> Date:   Tue Oct 23 20:14:47 2018 +0200
> 
>    doc: an introductory example for C++
> 
>    Suggested by Victor Khomenko.
>    http://lists.gnu.org/archive/html/bug-bison/2018-08/msg00037.html
> 
>    * doc/bison.texi (A Simple C++ Example): New.
>    * examples/c++/local.mk, examples/c++/simple.test: New.
>    Extract, check, and install this new example.
>    * examples/local.mk: Adjust.
>    * examples/test: Adjust to the case where the dirname differs
>    from the test name.

I installed the following fix.

commit 1ca59e98f8afd849b2407e97ef6b8bfe0b8c8c4b
Author: Akim Demaille <address@hidden>
Date:   Wed Oct 24 06:30:37 2018 +0200

    examples: fixes
    
    * examples/c++/local.mk (cxxdir): Fix typo.
    * examples/local.mk: Ship and install the README.

diff --git a/examples/c++/local.mk b/examples/c++/local.mk
index 50ca05e8..4d40abca 100644
--- a/examples/c++/local.mk
+++ b/examples/c++/local.mk
@@ -13,7 +13,7 @@
 ## You should have received a copy of the GNU General Public License
 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-cxxdir = $(exampledir)/c++
+cxxdir = $(examplesdir)/c++
 
 ## -------- ##
 ## Simple.  ##
diff --git a/examples/local.mk b/examples/local.mk
index 28f6edd5..c2a2ba28 100644
--- a/examples/local.mk
+++ b/examples/local.mk
@@ -48,6 +48,7 @@ $(extracted): %D%/extracted.stamp
 
 
 examplesdir = $(docdir)/examples
+dist_examples_DATA = %D%/README
 
 CLEANDIRS += %D%/*.dSYM
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]