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 c678d90..4c49264 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 49e9f4e..f616e76 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 e7bbc3b..e46926f 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