Also distribute Debian packaging.
authorBen Pfaff <blp@nicira.com>
Wed, 17 Sep 2008 17:46:41 +0000 (10:46 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 17 Sep 2008 17:46:41 +0000 (10:46 -0700)
Makefile.am
boot.sh
configure.ac

index c678d90268edfcfda93375b73e6b2aabaebb8bee..4c492644bbb1dac4bafc7682c264f6f3dff2f6a6 100644 (file)
@@ -9,7 +9,8 @@ SUBDIRS = \
        switch \
        tests \
        include \
-       third-party
+       third-party \
+       debian
 if HAVE_EXT
 SUBDIRS += ext
 endif
diff --git a/boot.sh b/boot.sh
index 49e9f4ea566ff3267ca24259d190a65bb6f0f6d1..f616e7660ee772a1af6c2d1f35a66d435596def3 100755 (executable)
--- a/boot.sh
+++ b/boot.sh
@@ -1,3 +1,10 @@
 #!/bin/sh
+
+# Generate list of files in debian/ to distribute.
+(echo '# Automatically generated by boot.sh (from Git tree).' &&
+ echo 'EXTRA_DIST = \' &&
+ cd debian && git ls-files | grep -v '^\.gitignore$' | 
+ sed -e 's/\(.*\)/     \1 \\/' -e '$s/ \\//') > debian/Makefile.am
+
 # Bootstrap configure system from .ac/.am files
 autoreconf --install -I config --force
index e7bbc3b864a69515b041c879e01da9ad4f322a83..e46926f61e8bf1fe8641632db2f07736a1baa5a3 100644 (file)
@@ -72,6 +72,7 @@ switch/Makefile
 tests/Makefile
 datapath/tests/Makefile
 third-party/Makefile
+debian/Makefile
 datapath/linux-2.6/Kbuild
 datapath/linux-2.6/Makefile
 datapath/linux-2.6/Makefile.main