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
This commit is contained in:
Christian Stimming 2006-09-08 11:04:44 +00:00
parent 4d8585bd16
commit ff961d57f8
4 changed files with 1 additions and 79 deletions

View File

@ -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.

View File

@ -1,29 +0,0 @@
/**-*-c-*-***********************************************************\
* i18n.h -- internationalization with gettext *
* Copyright (C) 1999 Laurent Pélecq *
* Copyright (C) 2000 Dave Peticolas <peticola@cs.ucdavis.edu> *
* *
* 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 <libintl.h>
# include <locale.h>
#endif
#define TEXT_DOMAIN "@-PACKAGE-@"
#define LOCALE_DIR "@-LOCALE_DIR-@"

View File

@ -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

View File

@ -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