also test DESTDIR

This commit is contained in:
mrdudz
2025-06-30 16:03:36 +02:00
parent 8e62d3d440
commit 483ef7844b
2 changed files with 9 additions and 3 deletions

View File

@@ -103,7 +103,9 @@ endif
all bin: $(PROGS)
ifeq ($(MAKELEVEL),0)
ifndef PREFIX
$(warning Warning: PREFIX is empty - make install will not work)
ifndef DESTDIR
$(warning Warning: PREFIX and DESTDIR are empty - make install will not work)
endif
endif
endif