diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7e9a52b6..80dffb87 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -358,10 +358,26 @@ AC_DEFINE_DIR([PACKAGE_DATA], [datarootdir], [The directory for installing read- | |||
358 | packagesrcdir=`cd $srcdir && pwd` | 358 | packagesrcdir=`cd $srcdir && pwd` |
359 | AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [source dir]) | 359 | AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [source dir]) |
360 | 360 | ||
361 | AC_SUBST(GNUNET_FS_GTK_NAME, $PACKAGE_NAME, [name of the program]) | 361 | AC_SUBST(GNUNET_FS_GTK_NAME, "GNUnet-FS-GTK", [name of the program]) |
362 | AC_SUBST(GNUNET_PEERINFO_GTK_NAME, "GNUnet-Peerinfo-GTK", [name of the program]) | ||
363 | AC_SUBST(GNUNET_STATISTICS_GTK_NAME, "GNUnet-Statistics-GTK", [name of the program]) | ||
364 | AC_SUBST(GNUNET_SETUP_GTK_NAME, "GNUnet-Setup", [name of the program]) | ||
365 | |||
362 | AC_SUBST(GNUNET_FS_GTK_VERSION3, $PACKAGE_VERSION, [version of the program]) | 366 | AC_SUBST(GNUNET_FS_GTK_VERSION3, $PACKAGE_VERSION, [version of the program]) |
367 | AC_SUBST(GNUNET_PEERINFO_GTK_VERSION3, $PACKAGE_VERSION, [version of the program]) | ||
368 | AC_SUBST(GNUNET_STATISTICS_GTK_VERSION3, $PACKAGE_VERSION, [version of the program]) | ||
369 | AC_SUBST(GNUNET_SETUP_GTK_VERSION3, $PACKAGE_VERSION, [version of the program]) | ||
370 | |||
363 | AC_SUBST(GNUNET_FS_GTK_YEARFROM, [2010], [year of the first release]) | 371 | AC_SUBST(GNUNET_FS_GTK_YEARFROM, [2010], [year of the first release]) |
364 | AC_SUBST(GNUNET_FS_GTK_YEARTO, [$(date | sed -e 's/.* \([[[:digit:]]]\+\)$/\1/')], [year of the most current release]) | 372 | AC_SUBST(GNUNET_PEERINFO_GTK_YEARFROM, [2010], [year of the first release]) |
373 | AC_SUBST(GNUNET_STATISTICS_GTK_YEARFROM, [2010], [year of the first release]) | ||
374 | AC_SUBST(GNUNET_SETUP_GTK_YEARFROM, [2010], [year of the first release]) | ||
375 | |||
376 | thisyear=$(date | sed -e 's/.* \([[[:digit:]]]\+\)$/\1/') | ||
377 | AC_SUBST(GNUNET_FS_GTK_YEARTO, ${thisyear}, [year of the most current release]) | ||
378 | AC_SUBST(GNUNET_PEERINFO_GTK_YEARTO, ${thisyear}, [year of the most current release]) | ||
379 | AC_SUBST(GNUNET_STATISTICS_GTK_YEARTO, ${thisyear}, [year of the most current release]) | ||
380 | AC_SUBST(GNUNET_SETUP_GTK_YEARTO, ${thisyear}, [year of the most current release]) | ||
365 | 381 | ||
366 | AC_OUTPUT([ | 382 | AC_OUTPUT([ |
367 | Makefile | 383 | Makefile |
@@ -380,4 +396,7 @@ po/Makefile | |||
380 | gnunet-fs-gtk.desktop | 396 | gnunet-fs-gtk.desktop |
381 | gnunet-setup.desktop | 397 | gnunet-setup.desktop |
382 | contrib/gnunet_fs_gtk_about_window.glade | 398 | contrib/gnunet_fs_gtk_about_window.glade |
399 | contrib/gnunet_peerinfo_gtk_about_window.glade | ||
400 | contrib/gnunet_statistics_gtk_about_window.glade | ||
401 | contrib/gnunet_setup_about_window.glade | ||
383 | ]) | 402 | ]) |