From 245218f84aba73346f23c32f7c7de60a42d61e31 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 17 Sep 2008 10:46:41 -0700 Subject: [PATCH] Also distribute Debian packaging. --- Makefile.am | 3 ++- boot.sh | 7 +++++++ configure.ac | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index c678d902..4c492644 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 49e9f4ea..f616e766 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 e7bbc3b8..e46926f6 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 -- 2.30.2