1a64d336ad
- Fix build on head [1] - Allow staging - Remove leading article from COMMENT - USES gmake PR: ports/182234 [1] Submitted by: Hung-Yi Chen <gaod hychen.org> (maintainer) [1]
45 lines
1.8 KiB
Text
45 lines
1.8 KiB
Text
--- 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:
|