From 5a7db2f34aa6a6787d98a001b6d28be97f36abf4 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 25 Jun 2021 12:56:30 +0200 Subject: First commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..36ff3a8 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +update: + @for PKG in *; do \ + if test -d "$${PKG}"; then \ + if pacman -Qq -- $${PKG} /dev/null 2>/dev/null ; then \ + printf -- '\033[1mmake -C %s install\033[m\n' "$${PKG}"; \ + make -C "$${PKG}" install; \ + else\ + printf -- '\033[1mmake -C %s uninstall\033[m\n' "$${PKG}"; \ + make -C "$${PKG}" uninstall; \ + fi; \ + fi; \ + done + +.PHONY: update -- cgit v1.2.3-70-g09d2