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

82 строки
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: gitconfig dotprofile
  15. $(DOTDEE) ../$(DOTPRO)
  16. $(DOTDEE) ../$(DOTGIT)
  17. ws: common emacs git ruby haskell perl tmux vim zsh home
  18. all: home
  19. dotprofile: $(DOTPROFILECKSUM)
  20. gitconfig: $(GITCONFIGCKSUM)
  21. $(GITCONFIG):
  22. touch $(GITCONFIG)
  23. $(GITCONFIGCKSUM): $(GITCONFIG)
  24. $(DOTDEE) $(GITCONFIG)
  25. list:
  26. echo common emacs git ruby haskell perl tmux vim zsh
  27. clean:
  28. $(STOW) -D common emacs git ruby haskell perl tmux vim zsh osx
  29. -rm $(GITCONFIG) $(GITCONFIGCKSUM) $(DOTPROFILE) $(DOTPROFILECKSUM)
  30. gitconfig: $(GITCONFIG)
  31. $(DOTPROFILE):
  32. touch $(DOTPROFILE)
  33. $(DOTPROFILECKSUM): $(DOTPROFILE)
  34. $(DOTDEE) $(DOTPROFILE)
  35. common: $(DOTFILECKSUM)
  36. $(STOW) $(STOWOPTS) common
  37. # Specific stows, nothing special
  38. git: gitconfig
  39. $(STOW) git
  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