home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Void pkgs
[khome.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
b67a24f
..
c2d4b8c
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-3,9
+3,11
@@
MAKEFLAGS := --no-builtin-rules
DEPS := $(wildcard deps/*)
ifeq ($(shell uname),Darwin)
DEPS := $(wildcard deps/*)
ifeq ($(shell uname),Darwin)
+ GREP := ggrep
SED := gsed
DIFF := $(shell gls -t1 /usr/local/Cellar/diffutils/*/bin/diff | head -1)
else
SED := gsed
DIFF := $(shell gls -t1 /usr/local/Cellar/diffutils/*/bin/diff | head -1)
else
+ GREP := grep
SED := sed
DIFF := diff
endif
SED := sed
DIFF := diff
endif
@@
-19,6
+21,8
@@
endif
diff \
pull \
mpdconf \
diff \
pull \
mpdconf \
+ pkgs_void \
+ pkgs_void_update \
pkgs_brew_cask_install \
pkgs_brew_install \
pkgs_cargo \
pkgs_brew_cask_install \
pkgs_brew_install \
pkgs_cargo \
@@
-41,15
+45,15
@@
home: mpdconf compiled
cp -Rp bin $(HOME)/
# Limit depth because directories are copied recursively:
find home -maxdepth 1 -print0 \
cp -Rp bin $(HOME)/
# Limit depth because directories are copied recursively:
find home -maxdepth 1 -print0 \
- |
grep
-zv '^home$$' \
+ |
$(GREP)
-zv '^home$$' \
| xargs -0 -I% cp -Rp % ~
mpdconf:
| xargs -0 -I% cp -Rp % ~
mpdconf:
- @mkdir -p ~/Archives/Audio
-
@
mkdir -p ~/var/lib/mpd/playlists
-
@
mkdir -p ~/var/log/mpd
-
@
mkdir -p ~/var/run/mpd
-
@
cp home/.mpdconf $(HOME)/
+ mkdir -p ~/arc/aud
+ mkdir -p ~/var/lib/mpd/playlists
+ mkdir -p ~/var/log/mpd
+ mkdir -p ~/var/run/mpd
+ cp home/.mpdconf $(HOME)/
compiled:
mkdir -p bin
compiled:
mkdir -p bin
@@
-57,13
+61,24
@@
compiled:
mv src/clockloop bin/
font_cache:
mv src/clockloop bin/
font_cache:
- @fc-cache -fv
+ fc-cache -fv
+
+#
+# Void Linux
+#
+
+pkgs_void:
+ sudo xbps-install $(shell ./list pkgs-void.list)
+
+pkgs_void_update:
+ xbps-query -m | awk -F - '{sub("-" $$NF "$$", ""); print}' | sort -u > pkgs-void.list
+ patch pkgs-void.list pkgs-void.list.comments.patch
#
# Golang
#
pkgs_golang: list pkgs-golang.list
#
# Golang
#
pkgs_golang: list pkgs-golang.list
- go get $(shell ./list pkgs-golang.list)
+ go get
-u
$(shell ./list pkgs-golang.list)
#
# Ubuntu
#
# Ubuntu
@@
-78,10
+93,10
@@
pkgs_ubuntu_debfiles: list pkgs-ubuntu-debfiles.list
# PIP
#
pkgs_pip_install:
# PIP
#
pkgs_pip_install:
- pip
3
install --user $(shell ./list pkgs-pip.list)
+ pip install --user $(shell ./list pkgs-pip.list)
pkgs_pip_upgrade:
pkgs_pip_upgrade:
- pip
3
install --user --upgrade $(shell ./list pkgs-pip.list)
+ pip install --user --upgrade $(shell ./list pkgs-pip.list)
#
# Rust (cargo)
#
# Rust (cargo)
This page took
0.028715 seconds
and
4
git commands to generate.