r14824 - gnucash/trunk/src - Remove obsolete/unused generated headers; all directory paths are now in src/engine/gnc-path.c.

Christian Stimming cstim at cvs.gnucash.org
Fri Sep 8 07:04:45 EDT 2006


Author: cstim
Date: 2006-09-08 07:04:44 -0400 (Fri, 08 Sep 2006)
New Revision: 14824
Trac: http://svn.gnucash.org/trac/changeset/14824

Removed:
   gnucash/trunk/src/bin/i18n.h.in
   gnucash/trunk/src/gnome-utils/gnc-dir.h.in
Modified:
   gnucash/trunk/src/bin/Makefile.am
   gnucash/trunk/src/gnome-utils/Makefile.am
Log:
Remove obsolete/unused generated headers; all directory paths are now in src/engine/gnc-path.c.

Modified: gnucash/trunk/src/bin/Makefile.am
===================================================================
--- gnucash/trunk/src/bin/Makefile.am	2006-09-08 11:02:23 UTC (rev 14823)
+++ gnucash/trunk/src/bin/Makefile.am	2006-09-08 11:04:44 UTC (rev 14824)
@@ -44,16 +44,6 @@
 	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 @@
 # 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.

Deleted: gnucash/trunk/src/bin/i18n.h.in
===================================================================
--- gnucash/trunk/src/bin/i18n.h.in	2006-09-08 11:02:23 UTC (rev 14823)
+++ gnucash/trunk/src/bin/i18n.h.in	2006-09-08 11:04:44 UTC (rev 14824)
@@ -1,29 +0,0 @@
-/**-*-c-*-***********************************************************\
- * i18n.h -- internationalization with gettext                      *
- * Copyright (C) 1999 Laurent Pélecq                                *
- * Copyright (C) 2000 Dave Peticolas <peticola at 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-@"

Modified: gnucash/trunk/src/gnome-utils/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome-utils/Makefile.am	2006-09-08 11:02:23 UTC (rev 14823)
+++ gnucash/trunk/src/gnome-utils/Makefile.am	2006-09-08 11:04:44 UTC (rev 14824)
@@ -211,7 +211,6 @@
 gncscm_DATA = gnc-menu-extensions.scm
 
 EXTRA_DIST = \
-  gnc-dir.h.in \
   gnc-svninfo.h \
   ${gwmod_DATA} \
   ${gncmod_DATA} \
@@ -221,14 +220,6 @@
 ## brackets here, instead of the usual @... at .  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

Deleted: gnucash/trunk/src/gnome-utils/gnc-dir.h.in
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-dir.h.in	2006-09-08 11:02:23 UTC (rev 14823)
+++ gnucash/trunk/src/gnome-utils/gnc-dir.h.in	2006-09-08 11:04:44 UTC (rev 14824)
@@ -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 at 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



More information about the gnucash-changes mailing list