From fcde23cb8e0e05e4907284b666c0d327738234e8 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Sun, 10 May 2009 22:39:04 +0200 Subject: [PATCH] Make the pi teaser program install. --- examples/Makefile.am | 5 ++++- examples/pi.cc | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index e20a75f..cee2ce0 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,4 +1,7 @@ -noinst_PROGRAMS = contfrac e fibonacci legendre lucaslehmer nextprime perfnum pi +noinst_PROGRAMS = contfrac e fibonacci legendre lucaslehmer nextprime perfnum +bin_PROGRAMS = pi + +dist_man_MANS = pi.1 contfrac_SOURCES = contfrac.cc diff --git a/examples/pi.cc b/examples/pi.cc index d8b310f..5fccab3 100644 --- a/examples/pi.cc +++ b/examples/pi.cc @@ -37,7 +37,7 @@ main (int argc, char * argv[]) << ")" << endl; cout << "Written by Bruno Haible and Richard B. Kreckel." << endl; cout << endl; - cout << "Copyright (C) 1988-2008 Bruno Haible, 2000-2008 Richard B. Kreckel." << endl; + cout << "Copyright (C) 1988-2008 Bruno Haible, 2000-2009 Richard B. Kreckel." << endl; cout << "This is free software; see the source for copying conditions. There is NO" << endl; cout << "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." << endl; cout << endl;