diff --git a/Makefile.am b/Makefile.am index efc2bba5a..eb98104e2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,10 @@ -DIST_SUBDIRS = pixman src boilerplate test doc +DIST_SUBDIRS = pixman src boilerplate test perf doc SUBDIRS = pixman src doc +# libpng is required for our test programs +if CAIRO_HAS_PNG_FUNCTIONS +SUBDIRS += test +endif + .PHONY: doc test retest recheck check-valgrind doc: @@ -15,11 +20,6 @@ check-valgrind: all perf: all cd perf && $(MAKE) $(AM_MAKEFLAGS) perf -# libpng is required for our test programs -if CAIRO_HAS_PNG_FUNCTIONS -SUBDIRS += test -endif - EXTRA_DIST = \ BUGS \ CODING_STYLE \