Make "make dist", "make clean" work without extensions submodule present.
authorBen Pfaff <blp@nicira.com>
Fri, 29 Aug 2008 17:05:14 +0000 (10:05 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 29 Aug 2008 17:05:14 +0000 (10:05 -0700)
Makefile.am

index d78bc2c..c678d90 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