diff --git a/Makefile.am b/Makefile.am index c678d90..4c49264 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 --- 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 diff --git a/configure.ac b/configure.ac index e7bbc3b..e46926f 100644 --- a/configure.ac +++ b/configure.ac @@ -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