autoconfiscate
Add autoconf & automake metadata, plus required files for automake to run without complaint. Requires an update to ccan, to get the --build-type argument to create-ccan-tree. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
This commit is contained in:
parent
42c7160576
commit
3def238360
7 changed files with 130 additions and 113 deletions
33
autogen.sh
Executable file
33
autogen.sh
Executable file
|
@ -0,0 +1,33 @@
|
|||
#!/bin/bash
|
||||
|
||||
ccan_modules=talloc
|
||||
|
||||
# Add ccan upstream sources
|
||||
if [ ! -e lib/ccan.git/Makefile ]
|
||||
then
|
||||
git submodule init
|
||||
git submodule update
|
||||
fi
|
||||
|
||||
# create ccan build tree
|
||||
if [ ! -e lib/ccan ]
|
||||
then
|
||||
lib/ccan.git/tools/create-ccan-tree \
|
||||
--build-type=automake lib/ccan $ccan_modules
|
||||
fi
|
||||
|
||||
# Create generatable docs from git
|
||||
(
|
||||
echo "Authors of sbsigntool:"
|
||||
echo
|
||||
git log --format='%an' | sort -u | sed 's,^,\t,'
|
||||
) > AUTHORS
|
||||
|
||||
# Generate simple ChangeLog
|
||||
git log --date=short --format='%ad %t %an <%ae>%n%n * %s%n' > ChangeLog
|
||||
|
||||
# automagic
|
||||
aclocal
|
||||
autoheader
|
||||
autoconf
|
||||
automake --add-missing -Wno-portability
|
Loading…
Add table
Add a link
Reference in a new issue