diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-03-08 11:25:14 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-05-02 21:36:45 +0200 |
commit | b2fc4eb99e9eb6207505252227d716df0527deec (patch) | |
tree | c6eb765915ba0ee93ea0414339855d57841e393b /main.c | |
parent | 979edc5ceac0f47120331b54ec8183400694af8d (diff) | |
download | pucket-b2fc4eb99e9eb6207505252227d716df0527deec.tar.gz pucket-b2fc4eb99e9eb6207505252227d716df0527deec.tar.bz2 pucket-b2fc4eb99e9eb6207505252227d716df0527deec.zip |
Rename project to “pucket”
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -1,5 +1,4 @@ /* - FLAM3 - cosmic recursive fractal flames Copyright (C) 1992-2009 Spotworks LLC This program is free software; you can redistribute it and/or modify @@ -29,8 +28,7 @@ #define streq(a,b) (strcmp (a, b) == 0) -const char *argp_program_version = - "vlam3-pre"; +const char *argp_program_version = PACKAGE "-" VERSION; typedef struct { unsigned int bpc; @@ -137,7 +135,7 @@ static void do_render (const render_arguments * const arguments) { } static void print_genome (flam3_genome * const genome) { - printf("<pick version=\"FLAM3-%s\">\n", flam3_version()); + printf("<pick version=\"" PACKAGE "-" VERSION "\">\n"); flam3_print (stdout, genome, NULL, flam3_dont_print_edits); printf("</pick>\n"); } @@ -431,7 +429,7 @@ int main (int argc, char **argv) { {"method", 'm', "XXX", OPTION_ARG_OPTIONAL, "Cross method" }, { 0 }, }; - const char doc[] = "vlame3-cross -- a fractal flame renderer"; + const char doc[] = PACKAGE "-cross -- a fractal flame renderer"; const struct argp argp = { .options = options, .parser = parse_cross_opt, .args_doc = NULL, .doc = doc, .children = NULL @@ -448,7 +446,7 @@ int main (int argc, char **argv) { {"method", 'm', "XXX", OPTION_ARG_OPTIONAL, "Mutation method" }, { 0 }, }; - const char doc[] = "vlame3-mutate -- a fractal flame renderer"; + const char doc[] = PACKAGE "-mutate -- a fractal flame renderer"; const struct argp argp = { .options = options, .parser = parse_mutate_opt, .args_doc = NULL, .doc = doc, .children = NULL @@ -468,7 +466,7 @@ int main (int argc, char **argv) { {"width", 'w', "pixels", 0, "Output flame width" }, { 0 }, }; - const char doc[] = "vlame3-random -- a fractal flame generator"; + const char doc[] = PACKAGE "-random -- a fractal flame generator"; const struct argp argp = { .options = options, .parser = parse_random_opt, .args_doc = NULL, .doc = doc, .children = NULL @@ -492,7 +490,7 @@ int main (int argc, char **argv) { {"cache", 'c', "path", 0, "Cache file" }, { 0 }, }; - const char doc[] = "vlame3-render -- a fractal flame renderer"; + const char doc[] = PACKAGE "-render -- a fractal flame renderer"; const struct argp argp = { .options = options, .parser = parse_render_opt, .args_doc = NULL, .doc = doc, .children = NULL, |