Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

70 righe
1.1 KiB

  1. DOTDEE=update-dotdee
  2. STOW=xstow
  3. PWD=$(shell pwd)
  4. STOWOPTS=-target $(HOME) -d $(PWD)
  5. DOTGITCONFIG=~/.gitconfig
  6. DOTPROFILE=~/.profile
  7. .PHONY: mosh common emacs git ruby haskell perl tmux vim zsh list home osx linux ws nix
  8. home: $(DOTGITCONFIG) $(DOTPROFILE)
  9. $(DOTDEE) $(DOTPROFILE)
  10. ws: common emacs nix mosh git ruby haskell perl tmux vim zsh home
  11. all: home
  12. $(DOTGITCONFIG):
  13. touch $(DOTGITCONFIG)
  14. $(DOTDEE) $(DOTGITCONFIG)
  15. clean:
  16. $(STOW) $(STOWOPTS) -D mosh common emacs git ruby haskell perl tmux vim zsh osx
  17. $(DOTPROFILE):
  18. touch $(DOTPROFILE)
  19. $(DOTDEE) $(DOTPROFILE)
  20. common:
  21. $(STOW) $(STOWOPTS) common
  22. # Specific stows, nothing special
  23. git:
  24. $(STOW) $(STOWOPTS) git
  25. emacs:
  26. $(STOW) $(STOWOPTS) emacs # $@?
  27. osx:
  28. $(STOW) $(STOWOPTS) osx
  29. linux:
  30. $(STOW) $(STOWOPTS) linux
  31. x:
  32. $(STOW) $(STOWOPTS) x
  33. ruby:
  34. $(STOW) $(STOWOPTS) ruby
  35. mosh:
  36. $(STOW) $(STOWOPTS) mosh
  37. zsh:
  38. $(STOW) $(STOWOPTS) zsh
  39. tmux:
  40. $(STOW) $(STOWOPTS) tmux
  41. vim:
  42. $(STOW) $(STOWOPTS) vim
  43. haskell:
  44. $(STOW) $(STOWOPTS) haskell
  45. perl:
  46. $(STOW) $(STOWOPTS) perl
  47. nix:
  48. $(STOW) $(STOWOPTS) nix