blob: 339ae845828543e6e03effd4944b458ec393af1b (
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
37
38
39
40
41
42
43
44
45
46
47
|
diff -u ../qemacs/Makefile ./Makefile
--- ../qemacs/Makefile 2007-02-06 18:41:16.000000000 +0100
+++ ./Makefile 2007-02-26 14:03:24.000000000 +0100
@@ -38,15 +38,6 @@
LDFLAGS+= -p
endif
-ifdef TARGET_ARCH_X86
-#CFLAGS+=-fomit-frame-pointer
-ifeq ($(GCC_MAJOR),2)
-CFLAGS+=-m386 -malign-functions=0
-else
-CFLAGS+=-march=i386 -falign-functions=0
-endif
-endif
-
DEFINES=-DHAVE_QE_CONFIG_H
########################################################
@@ -211,15 +202,19 @@
rm -f config.h config.mak
install: $(TARGETS) qe.1 kmaps ligatures
- install -m 755 qe$(EXE) $(prefix)/bin/qemacs
- ln -sf qemacs $(prefix)/bin/qe$(EXE)
+ mkdir -p $(DESTDIR)$(prefix)/bin
+ install -m 755 qe $(DESTDIR)$(prefix)/bin/qemacs
+ifdef CONFIG_HTML
+ install -m 755 libqhtml/csstoqe $(DESTDIR)$(prefix)/bin/csstoqe
+endif
ifdef CONFIG_FFMPEG
- ln -sf qemacs $(prefix)/bin/ffplay
+ ln -sf qemacs $(DESTDIR)$(prefix)/bin/qemacs-ffplay
endif
- mkdir -p $(prefix)/share/qe
- install kmaps ligatures $(prefix)/share/qe
- install qe.1 $(prefix)/man/man1
+ mkdir -p $(DESTDIR)$(prefix)/share/qemacs
+ install -m644 kmaps ligatures $(DESTDIR)$(prefix)/share/qe
+ mkdir -p $(DESTDIR)$(prefix)/share/man/man1
+ install -m644 qe.1 $(DESTDIR)$(prefix)/share/man/man1/qemacs.1
ifdef CONFIG_HTML
- install -m 755 -s html2png$(EXE) $(prefix)/bin
+ install -m 755 -s html2png $(DESTDIR)$(prefix)/bin
endif
TAGS: force
|