DEPS := $(wildcard deps/*)
.PHONY: \
- default \
+ default \
+ clean \
$(DEPS) \
deps \
home \
pkgs_ubuntu: list pkgs-ubuntu.list
sudo apt install $(shell ./list pkgs-ubuntu.list)
+pkgs_ubuntu_debfiles: list pkgs-ubuntu-debfiles.list
+ ./install-debfiles pkgs-ubuntu-debfiles.list
+
#
# PIP
#
diff $(HOME)/lib/login_variables.sh home/lib/login_variables.sh || true
diff $(HOME)/lib/login_variables_dpi_high.sh home/lib/login_variables_dpi_high.sh || true
diff $(HOME)/lib/login_variables_dpi_norm.sh home/lib/login_variables_dpi_norm.sh || true
+
+clean:
+ rm -rf ./debfiles
+ cd src && make clean
--- /dev/null
+#! /bin/sh
+
+set -e
+
+file=$(readlink -e "$1")
+
+mkdir -p debfiles
+cd debfiles || exit 1
+../list "$file" | xargs -P 2 -I % wget -c '%'
+sudo apt install ./*.deb