summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0d7ca67397..64cef1643b 100644
--- a/Makefile
+++ b/Makefile
@@ -9,13 +9,24 @@
LEVEL = .
DIRS = lib/System lib/Support utils lib tools
+
ifneq ($(MAKECMDGOALS),tools-only)
DIRS += runtime
OPTIONAL_DIRS = examples projects
endif
+EXTRA_DIST := llvm.spec include configure \
+ autoconf/AutoRegen.sh autoconf/LICENSE.TXT autoconf/README.TXT \
+ autoconf/aclocal.m4 autoconf/config.guess autoconf/config.sub \
+ autoconf/configure.ac autoconf/depcomp autoconf/install-sh \
+ autoconf/ltmain.sh autoconf/missing autoconf/mkinstalldirs \
+ autoconf/m4
include $(LEVEL)/Makefile.common
+dist-hook::
+ @$(ECHO) Eliminating CVS directories from distribution
+ $(VERB) rm -rf `find $(TopDistDir) -type d -name CVS -print`
+
test :: all
cd test; $(MAKE)