Skip to content

@devmotion /julia-0.2.1-makefile.patch
Last active

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Julia 0.2.1 Makefile patch
--- julia/Makefile.orig 2014-03-14 04:32:29.781166324 +0100
+++ julia/Makefile 2014-03-14 04:42:53.895398936 +0100
@@ -160,42 +160,42 @@
@$(MAKE) $(QUIET_MAKE) debug
@$(MAKE) $(QUIET_MAKE) release
@for subdir in "bin" "libexec" $(JL_LIBDIR) $(JL_PRIVATE_LIBDIR) "share/julia" "share/man/man1" "include/julia" "share/julia/site/"$(VERSDIR) "etc/julia" ; do \
- mkdir -p $(PREFIX)/$$subdir ; \
+ mkdir -p $(DESTDIR)/$(PREFIX)/$$subdir ; \
done
- cp -a $(BUILD)/bin $(PREFIX)
+ cp -a $(BUILD)/bin $(DESTDIR)/$(PREFIX)
ifneq ($(OS),WINNT)
- cd $(PREFIX)/bin && ln -sf julia-$(DEFAULT_REPL) julia
+ cd $(DESTDIR)/$(PREFIX)/bin && ln -sf julia-$(DEFAULT_REPL) julia
endif
for suffix in $(JL_LIBS) ; do \
- cp -a $(BUILD)/$(JL_LIBDIR)/lib$${suffix}*.$(SHLIB_EXT)* $(PREFIX)/$(JL_PRIVATE_LIBDIR) ; \
+ cp -a $(BUILD)/$(JL_LIBDIR)/lib$${suffix}*.$(SHLIB_EXT)* $(DESTDIR)/$(PREFIX)/$(JL_PRIVATE_LIBDIR) ; \
done
for suffix in $(JL_PRIVATE_LIBS) ; do \
- cp -a $(BUILD)/$(JL_LIBDIR)/lib$${suffix}*.$(SHLIB_EXT)* $(PREFIX)/$(JL_PRIVATE_LIBDIR) ; \
+ cp -a $(BUILD)/$(JL_LIBDIR)/lib$${suffix}*.$(SHLIB_EXT)* $(DESTDIR)/$(PREFIX)/$(JL_PRIVATE_LIBDIR) ; \
done
ifeq ($(USE_SYSTEM_LIBUV),0)
ifeq ($(OS),WINNT)
- cp -a $(BUILD)/lib/libuv.a $(PREFIX)/$(JL_PRIVATE_LIBDIR)
+ cp -a $(BUILD)/lib/libuv.a $(DESTDIR)/$(PREFIX)/$(JL_PRIVATE_LIBDIR)
else
- cp -a $(BUILD)/$(JL_LIBDIR)/libuv.a $(PREFIX)/$(JL_PRIVATE_LIBDIR)
+ cp -a $(BUILD)/$(JL_LIBDIR)/libuv.a $(DESTDIR)/$(PREFIX)/$(JL_PRIVATE_LIBDIR)
endif
- cp -a $(BUILD)/include/uv* $(PREFIX)/include/julia
+ cp -a $(BUILD)/include/uv* $(DESTDIR)/$(PREFIX)/include/julia
endif
- cp -a src/julia.h src/support/*.h $(PREFIX)/include/julia
+ cp -a src/julia.h src/support/*.h $(DESTDIR)/$(PREFIX)/include/julia
# Copy system image
- cp $(BUILD)/$(JL_PRIVATE_LIBDIR)/sys.ji $(PREFIX)/$(JL_PRIVATE_LIBDIR)
+ cp $(BUILD)/$(JL_PRIVATE_LIBDIR)/sys.ji $(DESTDIR)/$(PREFIX)/$(JL_PRIVATE_LIBDIR)
# Copy in all .jl sources as well
- cp -R -L $(BUILD)/share/julia $(PREFIX)/share/
+ cp -R -L $(BUILD)/share/julia $(DESTDIR)/$(PREFIX)/share/
ifeq ($(OS), WINNT)
- cp $(JULIAHOME)/contrib/windows/*.bat $(PREFIX)
+ cp $(JULIAHOME)/contrib/windows/*.bat $(DESTDIR)/$(PREFIX)
endif
# Copy in beautiful new man page!
- cp $(BUILD)/share/man/man1/julia.1 $(PREFIX)/share/man/man1/
+ cp $(BUILD)/share/man/man1/julia.1 $(DESTDIR)/$(PREFIX)/share/man/man1/
# Copy etc/julia directory to SYSCONFIGDIR if it is set, otherwise to just $(PREFIX)/etc/
ifneq ($(SYSCONFDIR),)
- mkdir -p $(SYSCONFDIR)
- cp -R $(BUILD)/etc/julia $(SYSCONFDIR)/
+ mkdir -p $(DESTDIR)/$(SYSCONFDIR)
+ cp -R $(BUILD)/etc/julia $(DESTDIR)/$(SYSCONFDIR)/
else
- cp -R $(BUILD)/etc/julia $(PREFIX)/etc/
+ cp -R $(BUILD)/etc/julia $(DESTDIR)/$(PREFIX)/etc/
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.