Makefile 374 B

12345678910111213141516171819
  1. .PHONY: os stow deps
  2. OS_NAME := $(shell uname -s | tr A-Z a-z)
  3. stow:
  4. stow -t ~ */
  5. dconf load / < gnome/.local/share/custom-gconf.conf \
  6. deps:
  7. @echo "Installing software for ${OS_NAME} platform"
  8. @if [ $(OS_NAME) = "darwin" ]; then\
  9. cd macos/.config/homebrew && brew bundle\
  10. fi
  11. @if [ $(OS_NAME) = "linux" ]; then\
  12. @echo "Not macos"\
  13. endif
  14. os:
  15. @echo $(OS_NAME)