Browse Source

add check

main
Nicolas Massé 3 days ago
parent
commit
82fa15c00f
  1. 1
      Makefile

1
Makefile

@ -16,6 +16,7 @@ TARGET_SYSTEMD_FILES = $(addprefix /etc/systemd/system/, $(SYSTEMD_FILES))
TARGET_CONFIG_FILES = $(patsubst config/%, /etc/quadlets/$(PROJECT_NAME)/%, $(CONFIG_FILES)) TARGET_CONFIG_FILES = $(patsubst config/%, /etc/quadlets/$(PROJECT_NAME)/%, $(CONFIG_FILES))
pre-requisites: pre-requisites:
@test -n "$(PARENT_DIR)" || (echo "Do not run this Makefile from the top directory!" >&2; exit 1)
@test "$$(id -u)" -eq 0 || (echo "This Makefile must be run as root" >&2; exit 1) @test "$$(id -u)" -eq 0 || (echo "This Makefile must be run as root" >&2; exit 1)
all: install all: install

Loading…
Cancel
Save