blob: 36ff3a82826e7e0c5de61954cf09e62eb3b65987 (
plain) (
tree)
|
|
update:
@for PKG in *; do \
if test -d "$${PKG}"; then \
if pacman -Qq -- $${PKG} </dev/null >/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
|