diff mbox

[RFC,v1,02/14] Makefile: introduce dist target

Message ID 1457628755-20267-3-git-send-email-wei.liu2@citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Wei Liu March 10, 2016, 4:52 p.m. UTC
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 Makefile | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

diff --git a/Makefile b/Makefile
index c8984d4..cfbaa99 100644
--- a/Makefile
+++ b/Makefile
@@ -642,6 +642,10 @@  downloadclean: patchclean
 distclean: downloadclean
 	rm -rf config.log config.status config.cache autom4te.cache ../config/Stubdom.mk
 
+.PHONY: dist
+dist: DESTDIR=$(DISTDIR)/install
+dist: install
+
 ifeq (,$(findstring clean,$(MAKECMDGOALS)))
 $(XEN_ROOT)/config/Stubdom.mk:
 	$(error You have to run ./configure before building or installing stubdom)