From dc687d03be0ee36465b7001b63cf6a25c7d4900b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 9 Feb 2013 06:09:22 +0200 Subject: Don't distribute empty tests directory Besides being pointless, this also doesn't work well with newer automake versions. --- makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index d1b2ba8..85377c7 100644 --- a/makefile +++ b/makefile @@ -15,14 +15,17 @@ clean := $(out_base)/.clean $(default): $(addprefix $(out_base)/,$(addsuffix /,$(dirs))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(dirs))) -$(dist): export dirs := $(dirs) +# No dist support for tests for now. +dist_dirs := $(filter-out tests,$(dirs)) + +$(dist): export dirs := $(dist_dirs) $(dist): export docs := LICENSE NEWS README INSTALL version $(dist): data_dist := libcutl-vc9.sln libcutl-vc10.sln $(dist): exec_dist := bootstrap $(dist): export extra_dist := $(data_dist) $(exec_dist) $(dist): export version = $(shell cat $(src_root)/version) -$(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(dirs))) +$(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(dist_dirs))) $(call dist-data,$(docs) $(data_dist) libcutl.pc.in) $(call dist-exec,$(exec_dist)) $(call dist-dir,m4) -- cgit v1.1