Ignore:
Timestamp:
Jun 12, 2010, 7:06:27 AM (11 years ago)
Author:
Peter Johansson
Message:

first working version of svncopyright. refs #307. linking snvcopyright against plplot unfortunately.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/main_utility.cc

    r1074 r1086  
    2323
    2424#include "Configuration.h"
     25#include "Node.h"
    2526#include "utility.h"
    2627
     
    5556
    5657
     58  void update_copyright(const Node& tree, bool verbose)
     59  {
     60    if (verbose)
     61      std::cout << "Updating copyright statements" << std::endl;
     62    const Configuration& config = Configuration::instance();
     63    std::map<std::string, Alias> alias(config.copyright_alias());
     64    tree.print_copyright(alias, verbose);
     65  }
     66
    5767}} // end of namespace svndigest and namespace theplu
Note: See TracChangeset for help on using the changeset viewer.