Add Mac/homebrew packages
[khome.git] / Makefile
index 4dd1869..0e973dc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ MAKEFLAGS := --no-builtin-rules
 
 DEPS := $(wildcard deps/*)
 
-.PHONY: home pkgs_deb_install pkgs_deb_purge pkgs deps $(DEPS) pkgs_snap_classic pkgs_snap_strict mpdconf
+.PHONY: home pkgs_deb_install pkgs_deb_purge pkgs_debian pkgs_mac pkgs_brew_install pkgs_brew_cask_install deps $(DEPS) pkgs_snap_classic pkgs_snap_strict mpdconf
 
 home: mpdconf
        @cp  -Rp  home/bin           $(HOME)/
@@ -23,12 +23,22 @@ mpdconf:
        @mkdir -p ~/var/run/mpd
        @cp home/.mpdconf $(HOME)/
 
-pkgs:
+pkgs_debian:
        $(MAKE) pkgs_deb_install
        $(MAKE) pkgs_deb_purge
        $(MAKE) pkgs_snap_classic
        $(MAKE) pkgs_snap_strict
 
+pkgs_mac:
+       $(MAKE) pkgs_brew_install
+       $(MAKE) pkgs_brew_cask_install
+
+pkgs_brew_install: list pkgs-brew-install.list
+       brew install $(shell ./list pkgs-brew-install.list)
+
+pkgs_brew_cask_install: list pkgs-brew-cask-install.list
+       brew cask install $(shell ./list pkgs-brew-cask-install.list)
+
 pkgs_deb_install: list pkgs-deb-install.list
        sudo apt install $(shell ./list pkgs-deb-install.list)
 
This page took 0.027937 seconds and 4 git commands to generate.