diff options
Diffstat (limited to 'lang/julia/files/patch-Makefile')
-rw-r--r-- | lang/julia/files/patch-Makefile | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/lang/julia/files/patch-Makefile b/lang/julia/files/patch-Makefile index 91e7e3bdf5a0..29ecc13e278a 100644 --- a/lang/julia/files/patch-Makefile +++ b/lang/julia/files/patch-Makefile @@ -1,16 +1,27 @@ ---- Makefile.orig 2017-03-06 03:32:23 UTC +--- Makefile.orig 2017-05-08 07:00:02 UTC +++ Makefile -@@ -328,8 +328,7 @@ define stringreplace +@@ -63,11 +63,6 @@ CLEAN_TARGETS += clean-docdir + clean-docdir: + @-rm -fr $(abspath $(build_docdir)) + $(build_prefix)/.examples: $(wildcard $(JULIAHOME)/examples/*.jl) $(shell find $(JULIAHOME)/examples/clustermanager) +- @echo Copying in usr/share/doc/julia/examples +- @-rm -fr $(build_docdir)/examples +- @mkdir -p $(build_docdir)/examples +- @cp -R $(JULIAHOME)/examples/*.jl $(build_docdir)/examples/ +- @cp -R $(JULIAHOME)/examples/clustermanager $(build_docdir)/examples/ + @echo 1 > $@ + + julia-symlink: julia-ui-$(JULIA_BUILD_MODE) +@@ -328,7 +323,7 @@ define stringreplace $(build_depsbindir)/stringreplace $$(strings -t x - $1 | grep '$2' | awk '{print $$1;}') '$3' 255 "$(call cygpath_w,$1)" endef -install: $(build_depsbindir)/stringreplace $(BUILDROOT)/doc/_build/html -- @$(MAKE) $(QUIET_MAKE) all -+install: $(build_depsbindir)/stringreplace default ++install: $(build_depsbindir)/stringreplace + @$(MAKE) $(QUIET_MAKE) all @for subdir in $(bindir) $(libexecdir) $(datarootdir)/julia/site/$(VERSDIR) $(docdir) $(man1dir) $(includedir)/julia $(libdir) $(private_libdir) $(sysconfdir); do \ mkdir -p $(DESTDIR)$$subdir; \ - done -@@ -389,10 +388,6 @@ endif +@@ -389,10 +384,6 @@ endif $(INSTALL_M) $(JULIAHOME)/contrib/julia-config.jl $(DESTDIR)$(datarootdir)/julia/ # Copy in all .jl sources as well cp -R -L $(build_datarootdir)/julia $(DESTDIR)$(datarootdir)/ @@ -21,7 +32,7 @@ # Remove perf suite -rm -rf $(DESTDIR)$(datarootdir)/julia/test/perf/ # Remove various files which should not be installed -@@ -400,38 +395,44 @@ endif +@@ -400,38 +391,44 @@ endif -rm -f $(DESTDIR)$(datarootdir)/julia/test/Makefile # Copy in beautiful new man page $(INSTALL_F) $(build_man1dir)/julia.1 $(DESTDIR)$(man1dir)/ @@ -43,7 +54,7 @@ ifeq ($(OS), Darwin) for julia in $(DESTDIR)$(bindir)/julia* ; do \ install_name_tool -rpath @executable_path/$(build_private_libdir_rel) @executable_path/$(private_libdir_rel) $$julia; \ - install_name_tool -rpath @executable_path/$(build_libdir_rel) @executable_path/$(libdir_rel) $$julia; \ + install_name_tool -add_rpath @executable_path/$(build_libdir_rel) @executable_path/$(libdir_rel) $$julia; \ done -else ifeq ($(OS), Linux) +else @@ -61,7 +72,6 @@ cp -R $(build_sysconfdir)/julia $(DESTDIR)$(sysconfdir)/ +install-docs: -+ mkdir -p $(DESTDIR)$(docdir)/ + cp -R -L $(BUILDROOT)/doc/_build/html $(DESTDIR)$(docdir)/ + rm $(DESTDIR)$(docdir)/html/.buildinfo + @@ -74,6 +84,7 @@ + mkdir -p $(DESTDIR)$(datarootdir)/icons/hicolor/scalable/apps/ + $(INSTALL_F) $(JULIAHOME)/contrib/julia.svg $(DESTDIR)$(datarootdir)/icons/hicolor/scalable/apps/ + -touch -c $(DESTDIR)$(datarootdir)/icons/hicolor/ ++ -gtk-update-icon-cache $(DESTDIR)$(datarootdir)/icons/hicolor/ + mkdir -p $(DESTDIR)$(datarootdir)/applications/ + $(INSTALL_F) $(JULIAHOME)/contrib/julia.desktop $(DESTDIR)$(datarootdir)/applications/ + # Install appdata file |