Ignore generated files in debian/.
[openvswitch] / Makefile.am
index 6306ab4cb2db3ee6df6eaa52dbfc9cb9998ddb00..782ce711b701d695ab3a3840d0f9d7aace300e2e 100644 (file)
@@ -1,6 +1,29 @@
 AUTOMAKE_OPTIONS=foreign
-SUBDIRS = lib datapath secchan controller
-if HAVE_IF_PACKET
-SUBDIRS += switch
+ACLOCAL_AMFLAGS = -I m4
+SUBDIRS = \
+       lib \
+       datapath \
+       secchan \
+       controller \
+       utilities \
+       switch \
+       tests \
+       include \
+       third-party \
+       debian
+if HAVE_EXT
+SUBDIRS += ext
+distdir = $(PACKAGE)+ext-$(VERSION)
+endif
+
+DIST_SUBDIRS = $(SUBDIRS)
+
+EXTRA_DIST = README.hwtables
+
+if HAVE_DPKG_BUILDPACKAGE
+distcheck-hook: 
+       cd $(srcdir) && dpkg-buildpackage -rfakeroot -us -uc
+       cd $(srcdir) && fakeroot ./debian/rules clean
+else
+distcheck-hook: 
 endif
-SUBDIRS += utilities man include third-party