1 MAKEFLAGS
:= --no-builtin-rules
3 DEPS
:= $(wildcard deps
/*)
11 pkgs_brew_cask_install \
22 @echo
'================================================================================'
23 @echo
'| Default target disabled. Specify a concrete one.'
24 @echo
'================================================================================'
27 home
: mpdconf compiled
29 @cp
-Rp home
/bin
$(HOME
)/
30 @cp
-Rp home
/lib
$(HOME
)/
31 @cp home
/.compton.conf
$(HOME
)/
32 @cp
-Rp home
/.config
/ $(HOME
)/
33 @cp
-Rp home
/.newsboat
/ $(HOME
)/
34 @cp home
/.profile
$(HOME
)/
35 @cp home
/.fonts.conf
$(HOME
)/
36 @cp home
/.Rprofile
$(HOME
)/
37 @cp home
/.tmux.conf
$(HOME
)/
38 @cp home
/.xbindkeysrc
$(HOME
)/
41 @mkdir
-p ~
/Archives
/Audio
42 @mkdir
-p ~
/var
/lib
/mpd
/playlists
43 @mkdir
-p ~
/var
/log
/mpd
44 @mkdir
-p ~
/var
/run
/mpd
45 @cp home
/.mpdconf
$(HOME
)/
58 pkgs_golang
: list pkgs-golang.list
59 go
get $(shell .
/list pkgs-golang.list
)
64 pkgs_ubuntu
: list pkgs-ubuntu.list
65 sudo apt
install $(shell .
/list pkgs-ubuntu.list
)
71 sudo pip3
install $(shell .
/list pkgs-pip.list
)
78 $(MAKE
) pkgs_brew_install
79 $(MAKE
) pkgs_brew_cask_install
81 # TODO: Test pkgs_brew_tap when list contains multiple items
82 pkgs_brew_tap
: list pkgs-brew-tap.list
83 brew tap
$(shell .
/list pkgs-brew-tap.list
)
85 pkgs_brew_install
: list pkgs-brew-install.list
86 brew
install $(shell .
/list pkgs-brew-install.list
)
88 pkgs_brew_cask_install
: list pkgs-brew-cask-install.list
89 brew cask
install $(shell .
/list pkgs-brew-cask-install.list
)
94 pkgs_deb_install
: list pkgs-deb-install.list
95 sudo apt
install $(shell .
/list pkgs-deb-install.list
)
97 pkgs_deb_purge
: list pkgs-deb-purge.list
98 sudo apt purge
$(shell .
/list pkgs-deb-purge.list
)
103 pkgs_snap_classic
: list pkgs-snap-classic.list
104 @
$(MAKE
) $(foreach p
,$(shell .
/list pkgs-snap-classic.list
),pkg_snap_classic_
$(p
))
106 pkgs_snap_strict
: list pkgs-snap-strict.list
107 @
$(MAKE
) $(foreach p
,$(shell .
/list pkgs-snap-strict.list
),pkg_snap_strict_
$(p
))
109 # 'snap' command comes from 'snapd' deb pkg
111 sudo snap
install --classic
$*
122 $(foreach d
,$(DEPS
),$(eval
$(call GEN_DEP_RULE
,$(d
))))
125 diff
$(HOME
)/.Rprofile home
/.Rprofile || true
126 diff
$(HOME
)/.compton.conf home
/.compton.conf || true
127 diff
$(HOME
)/.config
/dunst
/dunstrc home
/.config
/dunst
/dunstrc || true
128 diff
$(HOME
)/.config
/mimeapps.list home
/.config
/mimeapps.list || true
129 diff
$(HOME
)/.config
/neofetch
/config.conf home
/.config
/neofetch
/config.conf || true
130 diff
$(HOME
)/.config
/ranger
/rc.conf home
/.config
/ranger
/rc.conf || true
131 diff
$(HOME
)/.config
/screengrab
/screengrab.conf home
/.config
/screengrab
/screengrab.conf || true
132 diff
$(HOME
)/.fonts.conf home
/.fonts.conf || true
133 diff
$(HOME
)/.mpdconf home
/.mpdconf || true
134 diff
$(HOME
)/.newsboat
/config home
/.newsboat
/config || true
135 diff
$(HOME
)/.profile home
/.profile || true
136 diff
$(HOME
)/.tmux.conf home
/.tmux.conf || true
137 diff
$(HOME
)/.xbindkeysrc home
/.xbindkeysrc || true
138 diff
$(HOME
)/lib
/login_aliases.sh home
/lib
/login_aliases.sh || true
139 diff
$(HOME
)/lib
/login_functions.sh home
/lib
/login_functions.sh || true
140 diff
$(HOME
)/lib
/login_variables.sh home
/lib
/login_variables.sh || true
141 diff
$(HOME
)/lib
/login_variables_dpi_high.sh home
/lib
/login_variables_dpi_high.sh || true
142 diff
$(HOME
)/lib
/login_variables_dpi_norm.sh home
/lib
/login_variables_dpi_norm.sh || true