From ff961d57f8b6be2a491407fe8e233f11297be563 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Fri, 8 Sep 2006 11:04:44 +0000 Subject: [PATCH] Remove obsolete/unused generated headers; all directory paths are now in src/engine/gnc-path.c. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14824 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/bin/Makefile.am | 12 +----------- src/bin/i18n.h.in | 29 ----------------------------- src/gnome-utils/Makefile.am | 9 --------- src/gnome-utils/gnc-dir.h.in | 30 ------------------------------ 4 files changed, 1 insertion(+), 79 deletions(-) delete mode 100644 src/bin/i18n.h.in delete mode 100644 src/gnome-utils/gnc-dir.h.in diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index 24f25c2215..1e6555853e 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -44,16 +44,6 @@ gnucash: gnucash.in ${top_builddir}/config.status Makefile mv $@.tmp $@ chmod u+x $@ -BUILT_SOURCES = i18n.h - -i18n.h: i18n.h.in ${top_builddir}/config.status Makefile - rm -f $@.tmp - sed < $< > $@.tmp \ - -e 's#@-PACKAGE-@#${PACKAGE}#g' \ - -e 's#@-LOCALE_DIR-@#${LOCALE_DIR}#g' - mv $@.tmp $@ - - gnucash-valgrind: gnucash-valgrind.in ${top_builddir}/config.status Makefile rm -f $@.tmp sed < $< > $@.tmp \ @@ -93,7 +83,7 @@ bin_SCRIPTS = ${gnc_common_scripts} update-gnucash-gconf gnucash gnucash-valgrin # if you change gncoverridedir, make sure you change ./overrides/Makefile.am too. gncoverridesdir = ${GNC_LIBEXECDIR}/overrides -EXTRA_DIST = generate-gnc-script update-gnucash-gconf.in i18n.h.in \ +EXTRA_DIST = generate-gnc-script update-gnucash-gconf.in \ gnucash.in gnucash-valgrind.in ## Gnucash scripts -- real code is in overrides, these just get you there. diff --git a/src/bin/i18n.h.in b/src/bin/i18n.h.in deleted file mode 100644 index 5feaf91ce9..0000000000 --- a/src/bin/i18n.h.in +++ /dev/null @@ -1,29 +0,0 @@ -/**-*-c-*-***********************************************************\ - * i18n.h -- internationalization with gettext * - * Copyright (C) 1999 Laurent Pélecq * - * Copyright (C) 2000 Dave Peticolas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 2 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License* - * along with this program; if not, write to the Free Software * - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * -\********************************************************************/ - -#include "config.h" - -#ifdef HAVE_GETTEXT -# include -# include -#endif - -#define TEXT_DOMAIN "@-PACKAGE-@" -#define LOCALE_DIR "@-LOCALE_DIR-@" diff --git a/src/gnome-utils/Makefile.am b/src/gnome-utils/Makefile.am index 5604cec5e4..6b37563097 100644 --- a/src/gnome-utils/Makefile.am +++ b/src/gnome-utils/Makefile.am @@ -211,7 +211,6 @@ gncscmdir = ${GNC_SHAREDIR}/scm gncscm_DATA = gnc-menu-extensions.scm EXTRA_DIST = \ - gnc-dir.h.in \ gnc-svninfo.h \ ${gwmod_DATA} \ ${gncmod_DATA} \ @@ -221,14 +220,6 @@ EXTRA_DIST = \ ## brackets here, instead of the usual @...@. This prevents autoconf ## from substituting the values directly into the left-hand sides of ## the sed substitutions. -gnc-dir.h: gnc-dir.h.in ${top_builddir}/config.status Makefile - rm -f $@.tmp - sed < $< > $@.tmp \ - -e 's#@-GNC_ACCOUNTS_DIR-@#${GNC_ACCOUNTS_DIR}#g' \ - -e 's#@-GNC_GLADE_DIR-@#${GNC_GLADE_DIR}#g' \ - -e 's#@-GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY-@#${GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY}#g' - mv $@.tmp $@ - gnc-version.h: _gnc-version.h -if [ ! -f gnc-version.h ]; then cp _gnc-version.h gnc-version.h; fi -cmp -s _gnc-version.h gnc-version.h || cp _gnc-version.h gnc-version.h diff --git a/src/gnome-utils/gnc-dir.h.in b/src/gnome-utils/gnc-dir.h.in deleted file mode 100644 index 9bd2f48ea3..0000000000 --- a/src/gnome-utils/gnc-dir.h.in +++ /dev/null @@ -1,30 +0,0 @@ -/**-*- c -*-*********************************************************\ - * gnc-dir.h -- directories for GnuCash * - * Copyright (C) 2001 Gnumatic, Inc. * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 2 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License* - * along with this program; if not, contact: * - * * - * Free Software Foundation Voice: +1-617-542-5942 * - * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * - * Boston, MA 02110-1301, USA gnu@gnu.org * -\********************************************************************/ - -#ifndef GNC_DIR_H -#define GNC_DIR_H - -#define GNC_ACCOUNTS_DIR "@-GNC_ACCOUNTS_DIR-@" -#define GNC_GLADE_DIR "@-GNC_GLADE_DIR-@" -#define GNC_GCONF_DIR "@-GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY-@" - -#endif