Lines 1-42
Link Here
|
1 |
--- Makefile.orig Tue Nov 14 23:36:30 2006 |
1 |
--- Makefile.orig Sat May 26 16:15:40 2007 |
2 |
+++ Makefile Wed Nov 22 12:54:18 2006 |
2 |
+++ Makefile Sat May 26 16:17:20 2007 |
3 |
@@ -57,7 +57,7 @@ |
3 |
@@ -56,7 +56,7 @@ |
4 |
endif |
|
|
5 |
ICON_DIR ?= $(PREFIX)/share/pixmaps/$(TARGET)/ |
6 |
LOCALE_DIR ?= $(PREFIX)/share/locale/ |
7 |
-MAN_DIR ?= $(PREFIX)/share/man/man1/ |
8 |
+MAN_DIR ?= $(PREFIX)/man/man1/ |
9 |
|
4 |
|
10 |
OBJECTS_DIR = objs |
5 |
#these are only used here for installation purposes |
11 |
# object directories that have to be created |
6 |
BIN_DIR = $(PREFIX)/bin |
12 |
@@ -147,17 +147,17 @@ |
7 |
-MAN_DIR = $(PREFIX)/share/man/man1 |
|
|
8 |
+MAN_DIR = $(PREFIX)/man/man1 |
9 |
#as well as usage here, all in-code uses of these is assumed localised |
10 |
ifeq ($(DOCS_VERSION), 1) |
11 |
DOC_DIR = $(PREFIX)/share/doc/$(TARGET)-$(VERSION) |
12 |
@@ -202,7 +202,7 @@ |
13 |
|
13 |
|
14 |
lLDFLAGS = $(LDFLAGS) |
14 |
lLDFLAGS = $(LDFLAGS) |
15 |
# -lrt needed for clock_gettime() |
15 |
# -lrt needed for clock_gettime() |
16 |
-lLIBS = $(shell pkg-config --libs gtk+-2.0 gthread-2.0 gmodule-2.0) -lrt |
16 |
-lLIBS = $(shell pkg-config --libs gtk+-2.0 gthread-2.0 gmodule-2.0) -lrt |
17 |
+lLIBS = $(shell pkg-config --libs gtk+-2.0 gthread-2.0 gmodule-2.0) |
17 |
+lLIBS = $(shell pkg-config --libs gtk+-2.0 gthread-2.0 gmodule-2.0) |
18 |
ifeq ($(USE_FAM),1) |
18 |
ifeq ($(USE_FAM),1) |
19 |
lLIBS += -lfam |
19 |
lLIBS += -lfam |
20 |
endif |
20 |
endif |
21 |
ifeq ($(EDITOR_SPELLCHECK),1) |
21 |
@@ -220,10 +220,10 @@ |
22 |
lLIBS += -lgtkspell |
|
|
23 |
endif |
22 |
endif |
24 |
-ifeq ($(OPSY),FreeBSD) |
23 |
# should not need translation |
25 |
- OSREL = $(shell sysctl -n kern.osreldate) |
24 |
OPSYS := $(shell uname) |
26 |
- lLIBS += $(shell if test $(OSREL) -lt 500041 ; then echo "-lgnugetopt"; fi) |
25 |
-ifeq ($(OPSYS),FreeBSD) |
|
|
26 |
-OSREL = $(shell sysctl -n kern.osreldate) |
27 |
-lLIBS += $(shell if test $(OSREL) -lt 500041 ; then echo "-lgnugetopt"; fi) |
27 |
-endif |
28 |
-endif |
28 |
+#ifeq ($(OPSY),FreeBSD) |
29 |
+#ifeq ($(OPSYS),FreeBSD) |
29 |
+# OSREL = $(shell sysctl -n kern.osreldate) |
30 |
+#OSREL = $(shell sysctl -n kern.osreldate) |
30 |
+# lLIBS += $(shell if test $(OSREL) -lt 500041 ; then echo "-lgnugetopt"; fi) |
31 |
+#lLIBS += $(shell if test $(OSREL) -lt 500041 ; then echo "-lgnugetopt"; fi) |
31 |
+#endif |
32 |
+#endif |
32 |
|
33 |
|
33 |
.PHONY: all plugins install install_plugins uninstall uninstall_plugins doc \ |
34 |
#for gvfs development |
34 |
clean deps marshals gettext i18n install_i18n uninstall_i18n \ |
35 |
ifeq ($(WITH_GVFS),1) |
35 |
@@ -182,7 +182,6 @@ |
36 |
@@ -253,7 +253,6 @@ |
36 |
done |
37 |
done |
37 |
@install -d $(MAN_DIR) |
38 |
@install -d $(MAN_DIR) |
38 |
@install -m 644 docs/$(TARGET).1 $(MAN_DIR); |
39 |
@install -m 644 docs/$(TARGET).1 $(MAN_DIR); |
39 |
- @bzip2 -f $(MAN_DIR)$(TARGET).1; |
40 |
- @bzip2 -f $(MAN_DIR)/$(TARGET).1; |
40 |
|
41 |
|
41 |
ifeq ($(XGD_INTEGRATION), 1) |
42 |
ifeq ($(XDG_INTEGRATION), 1) |
42 |
@install -d $(XGD_DESKTOP_DIR) |
43 |
@install -d $(XDG_DESKTOP_DIR) |