Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

83 строки
1.3 KiB

  1. DOTDEE=update-dotdee
  2. STOW=xstow
  3. STOWOPTS=-f
  4. DOTGIT=.gitconfig
  5. DOTPRO=.profile
  6. GITCONFIG=git/.gitconfig
  7. GITCONFIGDOTDEE=$(GITCONFIG).d
  8. GITCONFIGCKSUM=$(GITCONFIGDOTDEE)/.checksum
  9. DOTPROFILE=common/.profile
  10. DOTPROFILEDOTDEE=$(DOTPROFILE).d
  11. DOTPROFILECKSUM=$(DOTPROFILEDOTDEE)/.checksum
  12. PWD=$(shell pwd)
  13. .PHONY: common emacs git ruby haskell perl tmux vim zsh list home osx linux ws
  14. home: dotprofile
  15. $(DOTDEE) $(PWD)/../$(DOTPRO)
  16. ws: common emacs git ruby haskell perl tmux vim zsh home
  17. all: home
  18. dotprofile: $(DOTPROFILECKSUM)
  19. gitconfig: $(GITCONFIGCKSUM)
  20. $(GITCONFIG):
  21. touch $(GITCONFIG)
  22. $(GITCONFIGCKSUM): $(GITCONFIG)
  23. $(DOTDEE) $(GITCONFIG)
  24. list:
  25. echo common emacs git ruby haskell perl tmux vim zsh
  26. clean:
  27. $(STOW) -D common emacs git ruby haskell perl tmux vim zsh osx
  28. -rm $(GITCONFIG) $(GITCONFIGCKSUM) $(DOTPROFILE) $(DOTPROFILECKSUM)
  29. gitconfig: $(GITCONFIG)
  30. $(DOTPROFILE):
  31. touch $(DOTPROFILE)
  32. $(DOTPROFILECKSUM): $(DOTPROFILE)
  33. $(DOTDEE) $(DOTPROFILE)
  34. common: $(DOTPROFILECKSUM)
  35. $(STOW) $(STOWOPTS) common
  36. # Specific stows, nothing special
  37. git: gitconfig
  38. $(STOW) git
  39. $(DOTDEE) $(PWD)/../$(DOTGIT)
  40. emacs:
  41. $(STOW) emacs # $@?
  42. osx:
  43. $(STOW) osx
  44. linux:
  45. $(STOW) linux
  46. x:
  47. $(STOW) x
  48. ruby:
  49. $(STOW) ruby
  50. zsh:
  51. $(STOW) zsh
  52. vim:
  53. $(STOW) vim
  54. haskell:
  55. $(STOW) haskell
  56. perl:
  57. $(STOW) perl