ifndef DEV_UTILS_MK_INCLUDED DEV_UTILS_MK_INCLUDED = true all: install: clean distclean: echo-vars: make -p nothing | grep -B1 "^[A-Z_]* *[?:+]*=" echo-makefiles: $(Q)strace -f make nothing 2>&1 | sed '/open\(at\)*(.*\(Makefile\|\.mk\)/ !d; s/.*open("//; s/.*openat([A-Z_]\+, "//; s/", O_.*//' cat-makefiles: Q=@ make --no-print-directory echo-makefiles | while read f; do echo "# =================================================== $$f"; sed 's/^include/#cat include/' $$f; done link-in: DEVELOPMENT=false INSTALL_LINK=1 make install install-to-system: sudo make DEVELOPMENT=false install for s in $(RESTART_SERVICES); do \ sudo systemctl restart $$s ;\ done endif # ifndef DEV_UTILS_MK_INCLUDED