]> git.sur5r.net Git - glabels/commitdiff
Cleanup of build system.
authorJim Evins <evins@snaught.com>
Fri, 26 Nov 2010 03:47:16 +0000 (22:47 -0500)
committerJim Evins <evins@snaught.com>
Fri, 26 Nov 2010 03:47:16 +0000 (22:47 -0500)
- 'make distcheck' is now successful
- Removed several old artifacts

.gitignore
Makefile.am
configure.ac
data/desktop/Makefile.am
data/mime/Makefile.am
po/POTFILES.in
po/POTFILES.skip [new file with mode: 0644]
src/Makefile.am

index f84763876bc8bcc39903c8ff6d959d362c214a48..186b8a7abff2f5647ee6f2a8d5dd4d54a930b358 100644 (file)
@@ -89,6 +89,20 @@ glabels-*.tar.gz
 /docs/libglabels/libglabels*.prerequisites
 /docs/libglabels/libglabels*.signals
 
+/docs/libglbarcode/*.stamp
+/docs/libglbarcode/xml/
+/docs/libglbarcode/html/
+/docs/libglbarcode/libglbarcode*-decl.txt
+/docs/libglbarcode/libglbarcode*-decl-list.txt
+/docs/libglbarcode/libglbarcode*-undeclared.txt
+/docs/libglbarcode/libglbarcode*-unused.txt
+/docs/libglbarcode/libglbarcode*-undocumented.txt
+/docs/libglbarcode/libglbarcode*.args
+/docs/libglbarcode/libglbarcode*.hierarchy
+/docs/libglbarcode/libglbarcode*.interfaces
+/docs/libglbarcode/libglbarcode*.prerequisites
+/docs/libglbarcode/libglbarcode*.signals
+
 #
 # Ignore artifacts from editors, patching, etc.
 #
index b2dee28218d69e89e950bc89566b8921e8dee9de..da1735c2636400002246a8a7f7b40a758b8540a1 100644 (file)
@@ -15,7 +15,7 @@ EXTRA_DIST = \
        COPYING.README_FIRST \
        COPYING \
        COPYING-DOCS \
-       COPYING-LIBGLABELS \
+       COPYING-LIBS \
        COPYING-TEMPLATES \
        AUTHORS \
        ChangeLog \
@@ -32,7 +32,9 @@ EXTRA_DIST = \
 
 DISTCLEANFILES = gnome-doc-utils.make
 
-DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper
+DISTCHECK_CONFIGURE_FLAGS = \
+       --disable-scrollkeeper  \
+       --enable-gtk-doc
 
 dist-hook:
        @if test -d "$(srcdir)/.git"; \
index 15173bb98cf3f4cf0265ceb6bbb5484cff82377d..9bb2e3b484e5948d0794cf787b357f6dc34fdf06 100644 (file)
@@ -1,8 +1,24 @@
 dnl Process this file with autoconf to produce a configure script.
 
-AC_PREREQ(2.63)
 
-AC_INIT([glabels],[2.3.0],[http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116])
+dnl ---------------------------------------------------------------------------
+dnl - GLABELS version
+dnl ---------------------------------------------------------------------------
+m4_define([glabels_major_version], [2])
+m4_define([glabels_minor_version], [3])
+m4_define([glabels_micro_version], [1])
+
+m4_define([glabels_version],
+          [glabels_major_version.glabels_minor_version.glabels_micro_version])
+
+dnl ---------------------------------------------------------------------------
+
+
+AC_PREREQ(2.64)
+AC_INIT([glabels],[glabels_version],
+       [http://bugzilla.gnome.org/enter_bug.cgi?product=glabels],
+       [glabels])
+
 AC_CONFIG_SRCDIR(src/glabels.c)
 
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
@@ -31,10 +47,9 @@ GNOME_COMPILE_WARNINGS
 
 AC_PATH_PROG(GLIB_GENMARSHAL,         glib-genmarshal)
 AC_PATH_PROG(GDK_PIXBUF_CSOURCE,      gdk-pixbuf-csource)
-AC_PATH_PROG(UPDATE_MIME_DATABASE,    update-mime-database)
-AC_PATH_PROG(UPDATE_DESKTOP_DATABASE, update-desktop-database)
 AC_PATH_PROG(GTK_UPDATE_ICON_CACHE,   gtk-update-icon-cache)
 
+
 dnl ---------------------------------------------------------------------------
 dnl - GLABELS branch
 dnl ---------------------------------------------------------------------------
@@ -287,18 +302,6 @@ if test "x$enable_deprecations" = "xyes"; then
 fi
 
 
-dnl ---------------------------------------------------------------------------
-dnl - Disable updating of mime and desktop databases
-dnl ---------------------------------------------------------------------------
-AC_ARG_ENABLE(update-mimedb, AS_HELP_STRING([--disable-update-mimedb],[disable the update-mime-database after install [default=no]]),,
-              enable_update_mimedb=yes)
-AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes)
-
-AC_ARG_ENABLE(update-desktopdb, AS_HELP_STRING([--disable-update-desktopdb],[disable the update-desktop-database after install [default=no]]),,
-              enable_update_desktopdb=yes)
-AM_CONDITIONAL(ENABLE_UPDATE_DESKTOPDB, test x$enable_update_desktopdb = xyes)
-
-
 dnl ---------------------------------------------------------------------------
 dnl - i18n support
 dnl ---------------------------------------------------------------------------
index 2be4ed6e358fda7192bf6ad1e756106b2e328f84..0358d5a53a3914269c485945a8f406fb34f277a6 100644 (file)
@@ -12,12 +12,3 @@ EXTRA_DIST = $(DESKTOP_IN_FILES)
 
 CLEANFILES = $(DESKTOP_FILES)
 
-install-data-hook:
-if ENABLE_UPDATE_DESKTOPDB
-       $(UPDATE_DESKTOP_DATABASE)
-endif
-
-uninstall-hook:
-if ENABLE_UPDATE_DESKTOPDB
-       $(UPDATE_DESKTOP_DATABASE)
-endif
index 94f2431e384594085bc581771fb36c0ef68b2a22..1c71a5e86a0fd140239003e1859580f5d2572c2c 100644 (file)
@@ -14,13 +14,3 @@ CLEANFILES = \
        $(xml_files)
 
 
-install-data-hook:
-if ENABLE_UPDATE_MIMEDB
-       $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
-endif
-
-uninstall-hook:
-if ENABLE_UPDATE_MIMEDB
-       $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
-endif
-
index 0ec9ba59f81a1405853030d31e792dbde152fe96..18528f1f301051597f7e70ec004ac1657b8c71fb 100644 (file)
@@ -1,6 +1,5 @@
 # List of source files containing translatable strings.
 
-data/schemas/org.gnome.glabels-3.gschema.xml.in.in
 src/bc-backends.c
 src/bc-backends.h
 src/bc-builtin.c
@@ -217,6 +216,8 @@ libglabels/xml-template.h
 [type: gettext/glade]data/ui/template-designer.ui
 [type: gettext/glade]data/ui/print-op-dialog-custom-widget.ui
 
+data/schemas/org.gnome.glabels-3.gschema.xml.in.in
+
 [type: gettext/ini]data/desktop/glabels-3.0.desktop.in
 
 [type: gettext/xml]data/mime/glabels-3.0.xml.in
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
new file mode 100644 (file)
index 0000000..bdb5b80
--- /dev/null
@@ -0,0 +1,3 @@
+# List of source files containing translatable strings that should be ignored.
+
+data/schemas/org.gnome.glabels-3.gschema.xml.in
index 057bdc307895cf7f81caf829753fa8969e801998..e63f32d983b5f6af4fe703d3a2582235280fef3f 100644 (file)
@@ -1,14 +1,16 @@
 
 SUBDIRS= \
-       ../libglabels \
-       ../libglbarcode \
        pixmaps \
        cursors
 
 bin_PROGRAMS = glabels-3 glabels-3-batch
 
 INCLUDES = \
+       -I$(top_srcdir)                                         \
+       -I$(top_builddir)                                       \
+       -I$(top_srcdir)/libglabels                              \
        -I$(top_builddir)/libglabels                            \
+       -I$(top_srcdir)/libglbarcode                            \
        -I$(top_builddir)/libglbarcode                          \
        $(GLABELS_CFLAGS)                                       \
        $(LIBEBOOK_CFLAGS)                                      \