Make "make dist", "make clean" work without extensions submodule present.
[openvswitch] / Makefile.am
index d78bc2c8bb736b8f38090e168b54044919c916b6..c678d90268edfcfda93375b73e6b2aabaebb8bee 100644 (file)
@@ -1,12 +1,19 @@
 AUTOMAKE_OPTIONS=foreign
 ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = lib datapath secchan controller
-if HAVE_IF_PACKET
-SUBDIRS += switch
-endif
-SUBDIRS += utilities tests include third-party
+SUBDIRS = \
+       lib \
+       datapath \
+       secchan \
+       controller \
+       utilities \
+       switch \
+       tests \
+       include \
+       third-party
 if HAVE_EXT
 SUBDIRS += ext
 endif
 
+DIST_SUBDIRS = $(SUBDIRS)
+
 EXTRA_DIST = README.hwtables