--- python/python/Makefile.orig 2018-04-20 15:02:08 UTC +++ python/python/Makefile @@ -16,7 +16,7 @@ include $(lang_srcdir)/config/Make.rules # # Load C++ dependencies # -$(eval $(call load-translator-dependencies,$(top_srcdir)/cpp/src/slice2py)) +#$(eval $(call load-translator-dependencies,$(top_srcdir)/cpp/src/slice2py)) .NOTPARALLEL: @@ -35,12 +35,12 @@ $(eval $(call make-python-slice,$(sliced install:: | $(DESTDIR)$(install_pythondir)/Ice $(E) "Installing generated code" - $(Q)$(INSTALL) -m 644 Ice/__init__.py $(DESTDIR)$(install_pythondir)/Ice + $(Q)%%INSTALL_DATA%% -m 644 Ice/__init__.py $(DESTDIR)$(install_pythondir)/Ice # Ice/Future requires python >= 3.5 ifeq ($(shell $(PYTHON) -c "print(1 if $(python-version) >= 3.5 else 0)"),1) - $(Q)$(INSTALL) -d -m 755 $(DESTDIR)$(install_pythondir)/Ice/Py3 - $(Q)$(INSTALL) -m 644 Ice/Py3/IceFuture.py $(DESTDIR)$(install_pythondir)/Ice/Py3/ + $(Q)%%MKDIR%% $(DESTDIR)$(install_pythondir)/Ice/Py3 + $(Q)%%INSTALL_DATA%% -m 644 Ice/Py3/IceFuture.py $(DESTDIR)$(install_pythondir)/Ice/Py3/ endif install:: | $(DESTDIR)$(install_pythondir)/Glacier2 - $(Q)$(INSTALL) -m 644 Glacier2/__init__.py $(DESTDIR)$(install_pythondir)/Glacier2 + $(Q)%%INSTALL_DATA%% -m 644 Glacier2/__init__.py $(DESTDIR)$(install_pythondir)/Glacier2