Commit f477e7f5 authored by 's avatar

added some missing files for 'make distcheck'

git-svn-id: file:///home/svn/mapi/trunk@839 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 997b7790
......@@ -5,7 +5,9 @@ SUBDIRS = src doc etc
# script, however runs aclocal by default without the necessary arguments
ACLOCAL_AMFLAGS = -I .
EXTRA_DIST = COPYING INSTALL applications tests
EXTRA_DIST = COPYING INSTALL applications tests \
config/mapi.conf.dag.entry \
config/mapi.conf.ipfixflib.entry
dist-hook:
rm -rf `find $(distdir)/applications -name .svn`
......
......@@ -27,5 +27,7 @@ dist_man_MANS = mapi.3 mapi_stdflib.3 mapi_extraflib.3 mapi_trackflib.3 mapi_ano
EXTRA_DIST = ipfixlib.txt \
mapi_functions_tutorial.pdf \
mapi_functions_tutorial.tex \
mapitutor.pdf \
mapitutor.tex \
README_DIMAPI
#!/bin/bash
# mapicommd_certs.sh
CERTPATH="/usr/local/share/mapi"
FILES="/usr/local/share/mapi/cacert.pem
/usr/local/share/mapi/privkey.pem"
for file in $FILES
do
if [ ! -e "$file" ] # Check if file exists.
then
echo "Creating certificate and private key"; echo
openssl genrsa -out /usr/local/share/mapi/privkey.pem 2048
openssl req -new -x509 -key $CERTPATH/privkey.pem -out $CERTPATH/cacert.pem -days 30000
fi
echo
done
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment