Lines 1-16
Link Here
|
1 |
--- Makefile.orig 2017-03-06 03:32:23 UTC |
1 |
--- Makefile.orig 2017-05-08 07:00:02 UTC |
2 |
+++ Makefile |
2 |
+++ Makefile |
3 |
@@ -328,8 +328,7 @@ define stringreplace |
3 |
@@ -63,11 +63,6 @@ CLEAN_TARGETS += clean-docdir |
|
|
4 |
clean-docdir: |
5 |
@-rm -fr $(abspath $(build_docdir)) |
6 |
$(build_prefix)/.examples: $(wildcard $(JULIAHOME)/examples/*.jl) $(shell find $(JULIAHOME)/examples/clustermanager) |
7 |
- @echo Copying in usr/share/doc/julia/examples |
8 |
- @-rm -fr $(build_docdir)/examples |
9 |
- @mkdir -p $(build_docdir)/examples |
10 |
- @cp -R $(JULIAHOME)/examples/*.jl $(build_docdir)/examples/ |
11 |
- @cp -R $(JULIAHOME)/examples/clustermanager $(build_docdir)/examples/ |
12 |
@echo 1 > $@ |
13 |
|
14 |
julia-symlink: julia-ui-$(JULIA_BUILD_MODE) |
15 |
@@ -328,7 +323,7 @@ define stringreplace |
4 |
$(build_depsbindir)/stringreplace $$(strings -t x - $1 | grep '$2' | awk '{print $$1;}') '$3' 255 "$(call cygpath_w,$1)" |
16 |
$(build_depsbindir)/stringreplace $$(strings -t x - $1 | grep '$2' | awk '{print $$1;}') '$3' 255 "$(call cygpath_w,$1)" |
5 |
endef |
17 |
endef |
6 |
|
18 |
|
7 |
-install: $(build_depsbindir)/stringreplace $(BUILDROOT)/doc/_build/html |
19 |
-install: $(build_depsbindir)/stringreplace $(BUILDROOT)/doc/_build/html |
8 |
- @$(MAKE) $(QUIET_MAKE) all |
20 |
+install: $(build_depsbindir)/stringreplace |
9 |
+install: $(build_depsbindir)/stringreplace default |
21 |
@$(MAKE) $(QUIET_MAKE) all |
10 |
@for subdir in $(bindir) $(libexecdir) $(datarootdir)/julia/site/$(VERSDIR) $(docdir) $(man1dir) $(includedir)/julia $(libdir) $(private_libdir) $(sysconfdir); do \ |
22 |
@for subdir in $(bindir) $(libexecdir) $(datarootdir)/julia/site/$(VERSDIR) $(docdir) $(man1dir) $(includedir)/julia $(libdir) $(private_libdir) $(sysconfdir); do \ |
11 |
mkdir -p $(DESTDIR)$$subdir; \ |
23 |
mkdir -p $(DESTDIR)$$subdir; \ |
12 |
done |
24 |
@@ -389,10 +384,6 @@ endif |
13 |
@@ -389,10 +388,6 @@ endif |
|
|
14 |
$(INSTALL_M) $(JULIAHOME)/contrib/julia-config.jl $(DESTDIR)$(datarootdir)/julia/ |
25 |
$(INSTALL_M) $(JULIAHOME)/contrib/julia-config.jl $(DESTDIR)$(datarootdir)/julia/ |
15 |
# Copy in all .jl sources as well |
26 |
# Copy in all .jl sources as well |
16 |
cp -R -L $(build_datarootdir)/julia $(DESTDIR)$(datarootdir)/ |
27 |
cp -R -L $(build_datarootdir)/julia $(DESTDIR)$(datarootdir)/ |
Lines 21-27
Link Here
|
21 |
# Remove perf suite |
32 |
# Remove perf suite |
22 |
-rm -rf $(DESTDIR)$(datarootdir)/julia/test/perf/ |
33 |
-rm -rf $(DESTDIR)$(datarootdir)/julia/test/perf/ |
23 |
# Remove various files which should not be installed |
34 |
# Remove various files which should not be installed |
24 |
@@ -400,38 +395,44 @@ endif |
35 |
@@ -400,38 +391,44 @@ endif |
25 |
-rm -f $(DESTDIR)$(datarootdir)/julia/test/Makefile |
36 |
-rm -f $(DESTDIR)$(datarootdir)/julia/test/Makefile |
26 |
# Copy in beautiful new man page |
37 |
# Copy in beautiful new man page |
27 |
$(INSTALL_F) $(build_man1dir)/julia.1 $(DESTDIR)$(man1dir)/ |
38 |
$(INSTALL_F) $(build_man1dir)/julia.1 $(DESTDIR)$(man1dir)/ |
Lines 43-49
Link Here
|
43 |
ifeq ($(OS), Darwin) |
54 |
ifeq ($(OS), Darwin) |
44 |
for julia in $(DESTDIR)$(bindir)/julia* ; do \ |
55 |
for julia in $(DESTDIR)$(bindir)/julia* ; do \ |
45 |
install_name_tool -rpath @executable_path/$(build_private_libdir_rel) @executable_path/$(private_libdir_rel) $$julia; \ |
56 |
install_name_tool -rpath @executable_path/$(build_private_libdir_rel) @executable_path/$(private_libdir_rel) $$julia; \ |
46 |
install_name_tool -rpath @executable_path/$(build_libdir_rel) @executable_path/$(libdir_rel) $$julia; \ |
57 |
install_name_tool -add_rpath @executable_path/$(build_libdir_rel) @executable_path/$(libdir_rel) $$julia; \ |
47 |
done |
58 |
done |
48 |
-else ifeq ($(OS), Linux) |
59 |
-else ifeq ($(OS), Linux) |
49 |
+else |
60 |
+else |
Lines 61-67
Link Here
|
61 |
cp -R $(build_sysconfdir)/julia $(DESTDIR)$(sysconfdir)/ |
72 |
cp -R $(build_sysconfdir)/julia $(DESTDIR)$(sysconfdir)/ |
62 |
|
73 |
|
63 |
+install-docs: |
74 |
+install-docs: |
64 |
+ mkdir -p $(DESTDIR)$(docdir)/ |
|
|
65 |
+ cp -R -L $(BUILDROOT)/doc/_build/html $(DESTDIR)$(docdir)/ |
75 |
+ cp -R -L $(BUILDROOT)/doc/_build/html $(DESTDIR)$(docdir)/ |
66 |
+ rm $(DESTDIR)$(docdir)/html/.buildinfo |
76 |
+ rm $(DESTDIR)$(docdir)/html/.buildinfo |
67 |
+ |
77 |
+ |
Lines 74-79
Link Here
|
74 |
+ mkdir -p $(DESTDIR)$(datarootdir)/icons/hicolor/scalable/apps/ |
84 |
+ mkdir -p $(DESTDIR)$(datarootdir)/icons/hicolor/scalable/apps/ |
75 |
+ $(INSTALL_F) $(JULIAHOME)/contrib/julia.svg $(DESTDIR)$(datarootdir)/icons/hicolor/scalable/apps/ |
85 |
+ $(INSTALL_F) $(JULIAHOME)/contrib/julia.svg $(DESTDIR)$(datarootdir)/icons/hicolor/scalable/apps/ |
76 |
+ -touch -c $(DESTDIR)$(datarootdir)/icons/hicolor/ |
86 |
+ -touch -c $(DESTDIR)$(datarootdir)/icons/hicolor/ |
|
|
87 |
+ -gtk-update-icon-cache $(DESTDIR)$(datarootdir)/icons/hicolor/ |
77 |
+ mkdir -p $(DESTDIR)$(datarootdir)/applications/ |
88 |
+ mkdir -p $(DESTDIR)$(datarootdir)/applications/ |
78 |
+ $(INSTALL_F) $(JULIAHOME)/contrib/julia.desktop $(DESTDIR)$(datarootdir)/applications/ |
89 |
+ $(INSTALL_F) $(JULIAHOME)/contrib/julia.desktop $(DESTDIR)$(datarootdir)/applications/ |
79 |
+ # Install appdata file |
90 |
+ # Install appdata file |