projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test Debian packaging at "make distcheck" time.
[openvswitch]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index 4c492644bbb1dac4bafc7682c264f6f3dff2f6a6..96f2145d819045cbfb89936c7d014d73738cd5c2 100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-18,3
+18,11
@@
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