From ad8a9ee7f96f39b414526ea1df86454731cd5959 Mon Sep 17 00:00:00 2001 From: Abigail G Date: Wed, 24 Mar 2021 02:19:33 -0400 Subject: [PATCH] add option to disable copying dist in makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 858c80c1..82019474 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ LIB ?= $(DESTDIR)/usr/share/gridtracker APP ?= $(DESTDIR)/usr/share/applications MAN ?= $(DESTDIR)/usr/share/man/man1 DOC ?= $(DESTDIR)/usr/share/doc/gridtracker +NO_DIST_INSTALL ?= .PHONY: help help: @@ -29,4 +30,7 @@ install: install -Dcm 644 LICENSE $(DOC)/LICENSE mkdir -p $(LIB) cp -r package.nw/* $(LIB) +ifndef NO_DIST_INSTALL cp -r dist/*-linux-x64/* $(LIB) +endif +