aboutsummaryrefslogblamecommitdiffstats
path: root/java-runtime/Makefile
blob: 8376e5ea9d4f0e4918e9422ba463dc502a41adc3 (plain) (tree)
1
2
       
                    
















                                                                                        
.POSIX:
include ../common.mk

install:
	mkdir -p -- ~/.var/cache/java
	-rm -rf -- ~/.java
	test ! -e ~/.java
	ln -s -- .var/cache/java ~/.java
	mkdir -p -- ~/.config/profile.d
	test ! d ~/.config/profile.d/java-runtime
	ln -sf -- ~/.dotfiles/java-runtime/user-profile ~/.config/profile.d/java-runtime

uninstall:
	-unlink -- ~/.config/profile.d/java-runtime
	-rmdir -- ~/.config/profile.d
	-rm -rf -- ~/.java
	-rm -rf -- ~/.var/cache/java

.PHONY: install uninstall