]> xenbits.xensource.com Git - people/liuw/stubdom.git/commitdiff
Makefile: introduce dist target
authorWei Liu <wei.liu2@citrix.com>
Thu, 10 Mar 2016 14:33:37 +0000 (14:33 +0000)
committerWei Liu <wei.liu2@citrix.com>
Thu, 10 Mar 2016 14:53:05 +0000 (14:53 +0000)
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Makefile

index c8984d49c08f905b73d7f16ab685853a5f09f956..cfbaa99062dc2b2997023606acb0e79d3460fe33 100644 (file)
--- 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)