From: Siraaj Khandkar Date: Tue, 31 Mar 2020 10:56:06 +0000 (-0400) Subject: Disable default make target X-Git-Url: https://git.xandkar.net/?p=khome.git;a=commitdiff_plain;h=75b7a956143d2d7e7184b96880831097a1eef7c3 Disable default make target to prevent accidental execution. --- diff --git a/Makefile b/Makefile index a7d5893..1ffb34c 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ MAKEFLAGS := --no-builtin-rules DEPS := $(wildcard deps/*) .PHONY: \ + default \ $(DEPS) \ deps \ home \ @@ -17,6 +18,12 @@ DEPS := $(wildcard deps/*) pkgs_snap_classic \ pkgs_snap_strict +default: + @echo '================================================================================' + @echo '| Default target disabled. Specify a concrete one.' + @echo '================================================================================' + @exit 1 + home: mpdconf @cp -Rp home/bin $(HOME)/ @cp -Rp home/lib $(HOME)/