blob: d4545e83a3e67fafb71bd4f9a5f423543feb925d (
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
|
--- Makefile.orig 2013-06-07 22:26:58.000000000 +0000
+++ Makefile 2013-09-19 18:58:18.000000000 +0000
@@ -44,7 +44,7 @@
# options
override CPPFLAGS += -Iinc/
-override CFLAGS += $(OPTIM) -fPIC -Wall -Wextra -Wno-unused -Werror -Iinc/ $(DEFINES)
+override CFLAGS += $(OPTIM) -fPIC -Wall -Wextra -Wno-unused -Iinc/ $(DEFINES)
override LDFLAGS +=
ifeq ("$(OS)", "Darwin")
@@ -149,24 +149,16 @@
$E - $(MAKE) -C $(abspath fuse.xml)
.PHONY: install
-install: $(TARGETS) doxy
- $P ' INSTALL DIRS'
- $E mkdir -p $(DESTDIR)/usr/bin
- $E mkdir -p $(DESTDIR)/usr/include
- $E mkdir -p $(DESTDIR)/usr/lib/pkgconfig
- $E mkdir -p $(DESTDIR)/usr/share/man/man3
- $E mkdir -p $(DESTDIR)/usr/share/man/man1
- $E mkdir -p $(DESTDIR)/usr/share/doc/libroxml/html
- $P ' INSTALL FILES'
- $E install -D $(TARGET_SLIB) $(DESTDIR)/usr/lib
- $E install -D $(TARGET_LIB) $(DESTDIR)/usr/lib
- $E install -D $(TARGET_BIN) $(DESTDIR)/usr/bin
- $E install -D $(INC) $(DESTDIR)/usr/include
- $E install -D docs/roxml.1 $(DESTDIR)/usr/share/man/man1/
- $E [ ! -d docs/man/man3 ] || install -D docs/man/man3/* $(DESTDIR)/usr/share/man/man3/
- $E [ ! -d docs/html ] || install -D docs/html/* $(DESTDIR)/usr/share/doc/libroxml/html/
- $E install -m644 libroxml.pc $(DESTDIR)/usr/lib/pkgconfig
- $E cp -d $(TARGET_LN) $(DESTDIR)/usr/lib
+install:
+ $E install $(TARGET_SLIB) $(DESTDIR)/lib
+ $E install $(TARGET_LIB) $(DESTDIR)/lib
+ $E install $(TARGET_BIN) $(DESTDIR)/bin
+ $E install $(INC) $(DESTDIR)/include
+ $E install docs/roxml.1 $(DESTDIR)/man/man1/
+ $E [ ! -d docs/man/man3 ] || install docs/man/man3/* $(DESTDIR)/man/man3/
+ $E [ ! -d docs/html ] || install ocs/html/* $(DESTDIR)/share/doc/libroxml/html/
+ $E install -m644 libroxml.pc $(DESTDIR)/libdata/pkgconfig
+ $E install $(TARGET_LN) $(DESTDIR)/lib
.PHONY: uninstall
uninstall:
|