summaryrefslogtreecommitdiff
blob: 22a4563d2db3e216524107bae548e81ab7c4aecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
1. avoid rebuilding documentation
2. avoid non-portable syntax

--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,9 @@
 AC_GNU_SOURCE
 AC_CONFIG_HEADERS([config.h])
 
+# avoid rebuilding documentation
+AM_MAINTAINER_MODE
+
 ##########################################################################
 #
 # Try to figure out if we are building from git sources.
@@ -1285,11 +1288,6 @@
 if test -d $srcdir/doc; then
    AC_CONFIG_FILES(doc/Makefile)
 fi
-if test -d $srcdir/doc/gs; then
-   AC_CONFIG_FILES(doc/gs/Makefile)
-   AC_CONFIG_FILES(doc/gs/gafrc)
-   AC_CONFIG_FILES(doc/gs/gschemrc)
-fi
 if test -d $srcdir/example; then
    AC_CONFIG_FILES(example/Makefile)
    AC_CONFIG_FILES(example/libraries/Makefile)
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,5 +15,5 @@
 MAINTAINERCLEANFILES= $(INTLTOOL_FILES)
 
 ACLOCAL_AMFLAGS = -I m4
-DISTCHECK_CONFIGURE_FLAGS := ${DISTCHECK_CONFIGURE_FLAGS} --disable-update-mime-database --disable-update-desktop-database GTK_UPDATE_ICON_THEME_BIN=true --with-gui=batch
+DISTCHECK_CONFIGURE_FLAGS = ${DISTCHECK_CONFIGURE_FLAGS} --disable-update-mime-database --disable-update-desktop-database GTK_UPDATE_ICON_THEME_BIN=true --with-gui=batch