Initial commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 7b04ff5cd..8d16d98b0 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -635,18 +635,17 @@ endif
|
||||
|
||||
install-shared-c: install-shared-check install-libs install-headers
|
||||
|
||||
-install-shared-c++: install-shared-c c++
|
||||
- install -m 644 platform/c++/include/mupdf/*.h $(DESTDIR)$(incdir)/mupdf
|
||||
- install -m $(SO_INSTALL_MODE) $(OUT)/libmupdfcpp.$(SO)$(SO_VERSION) $(DESTDIR)$(libdir)/
|
||||
+install-shared-c++: install-shared-check
|
||||
+ install -vDm 644 platform/c++/include/mupdf/*.h -t $(DESTDIR)$(incdir)/mupdf
|
||||
+ install -vDm $(SO_INSTALL_MODE) $(OUT)/libmupdfcpp.$(SO)$(SO_VERSION) -t $(DESTDIR)$(libdir)/
|
||||
ifneq ($(OS),OpenBSD)
|
||||
ln -sf libmupdfcpp.$(SO)$(SO_VERSION) $(DESTDIR)$(libdir)/libmupdfcpp.$(SO)
|
||||
ln -sf libmupdfcpp.$(SO)$(SO_VERSION) $(DESTDIR)$(libdir)/libmupdfcpp.$(SO)$(SO_VERSION_MAJOR)
|
||||
endif
|
||||
|
||||
-install-shared-python: install-shared-c++ python
|
||||
- install -d $(DESTDIR)$(pydir)/mupdf
|
||||
- install -m $(SO_INSTALL_MODE) $(OUT)/_mupdf.$(SO) $(DESTDIR)$(pydir)/mupdf
|
||||
- install -m 644 $(OUT)/mupdf.py $(DESTDIR)$(pydir)/mupdf/__init__.py
|
||||
+install-shared-python:
|
||||
+ install -vDm $(SO_INSTALL_MODE) $(OUT)/_mupdf.$(SO) -t $(DESTDIR)$(pydir)/mupdf
|
||||
+ install -vDm 644 $(OUT)/mupdf.py $(DESTDIR)$(pydir)/mupdf/__init__.py
|
||||
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user