blob: 11cf4b88909de25b2714fd3f7e7859049af91027 (
plain) (
blame)
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
|
--- gui2/Makefile.in.orig Thu Sep 25 22:54:01 2003
+++ gui2/Makefile.in Sun Oct 5 20:46:18 2003
@@ -4,6 +4,7 @@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
+datadir= @datadir@
CC = @CC@
CFLAGS = @CFLAGS@
MAKE = @MAKE@
@@ -47,19 +48,18 @@
LIBS = $(GNOME_LIBS) $(GTKSOURCEVIEW_LIBS) $(GTK_EXTRA_LIB) ../lib/libgretl-1.0.la
GUI_CFLAGS = $(GNOME_CFLAGS) $(GTKSOURCEVIEW_CFLAGS) $(GTK_EXTRA_CFLAGS)
query_install_gnome = install-gnome
- GNOMEDEF = -DGNOME_DISABLE_DEPRECATED -DDATADIR=\"$(gnome_prefix)/share\"
+ GNOMEDEF = -DGNOME_DISABLE_DEPRECATED -DDATADIR=\"$(datadir)\"
else
LIBS = $(GTK_LIBS) $(GTKSOURCEVIEW_LIBS) $(GTK_EXTRA_LIB) ../lib/libgretl-1.0.la
GUI_CFLAGS = $(GTK_CFLAGS) $(GTKSOURCEVIEW_CFLAGS) $(GTK_EXTRA_CFLAGS)
endif
ifeq ($(USE_NLS),yes)
- datadir = @datadir@
- localedir = $(datadir)/locale
+ localedir = $(prefix)/share/locale
NLSDEF = -DLOCALEDIR=\"$(localedir)\"
endif
ifeq ($(have_gtksourceview),yes)
langbase := $(shell pkg-config --variable=prefix gtksourceview-1.0)
- langdir = $(langbase)/share/gtksourceview-1.0/language-specs
+ langdir = $(datadir)/gtksourceview-1.0/language-specs
query_install_lang = install-lang
endif
@@ -72,7 +72,7 @@
# Directories
bindir = $(prefix)/bin
-gretldir = $(prefix)/share/gretl
+gretldir = $(datadir)/gretl
tooldir = $(topsrc)/tools
libsrc = $(topsrc)/lib/src
clisrc = $(topsrc)/cli
@@ -110,7 +110,7 @@
$(CC) $(CFLAGS) $(GTK_CFLAGS) -c $<
$(GTKEXTRA_LITE):
- make -C gtkextra-lite
+ $(MAKE) -C gtkextra-lite
-include $(OBJS:.o=.d)
@@ -122,7 +122,7 @@
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -s $(PROG) $(bindir)/$(PROG)
install-data: installdirs
- $(INSTALL_PROGRAM) ../gretl_sh $(bindir)/gretl
+ $(INSTALL_SCRIPT) ../gretl_sh $(bindir)/gretl
$(INSTALL_DATA) $(topsrc)/pixmaps/gretl-logo.xpm $(gretldir)
$(INSTALL_DATA) $(topsrc)/COPYING $(gretldir)
|