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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
--- a/configure.ac
+++ b/configure.ac
@@ -63,9 +63,6 @@
AC_DEFINE(DEBUG, 1, [Enable debug msg.])
CPPFLAGS=[`echo "$CXXFLAGS" | $SED -e 's/-O[0-9]*//g'`]
CPPFLAGS="$CPPFLAGS -g -O0"
-else
- CPPFLAGS=[`echo "$CXXFLAGS" | $SED -e 's/-O[0-9]*//g'`]
- CPPFLAGS="$CPPFLAGS -O3"
fi
AC_ARG_ENABLE(Werror,
@@ -74,7 +71,7 @@
)
if test "$enable_Werror" = yes; then
- CPPFLAGS="$CPPFLAGS -Werror -Wall"
+ CPPFLAGS="$CPPFLAGS -Wall"
fi
AC_ARG_ENABLE(static,
--- a/m4/Makefile.am
+++ b/m4/Makefile.am
@@ -15,6 +15,5 @@
m4macros =
# The following is boilerplate
-m4data_DATA = $(m4macros)
EXTRA_DIST =
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,13 +17,12 @@
ACLOCAL_AMFLAGS = -I m4
-pixmapdir = $(datadir)/pixmaps
+pixmapdir = /usr/share/pixmaps
pixmap_DATA = ascal.png
-desktopdir = $(datadir)/applications
+desktopdir = /usr/share/applications
desktop_in_files = ascal.desktop.in
-desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
-#include aminclude.am
\ No newline at end of file
+#include aminclude.am
--- a/po/Makefile.in.in
+++ b/po/Makefile.in.in
@@ -34,7 +34,7 @@
datarootdir = @datarootdir@
libdir = @libdir@
DATADIRNAME = @DATADIRNAME@
-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
+itlocaledir = /usr/share/locale
subdir = po
install_sh = @install_sh@
# Automake >= 1.8 provides @mkdir_p@.
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -50,5 +50,5 @@
-INCLUDES = $(ASCAL_CFLAGS) $(GTKMM) -DLOCALEDIR=\""$(datadir)/locale"\" -DASCAL_DATA_PREFIX=\""$(ASCAL_DATA_PREFIX)"\"
+INCLUDES = $(ASCAL_CFLAGS) $(GTKMM) -DLOCALEDIR=\""/usr/share/locale"\" -DASCAL_DATA_PREFIX=\""$(ASCAL_DATA_PREFIX)"\"
LIBS = $(ASCAL_LIBS) $(GTKMM)
|