Created SILC Runtime Toolkit git repository Part I.
[runtime.git] / distdir / pre-dist-runtime
diff --git a/distdir/pre-dist-runtime b/distdir/pre-dist-runtime
new file mode 100644 (file)
index 0000000..12d05fd
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+distribution=$1
+dist_version=$2
+package=$3
+distdir=$4
+release=$5
+
+if test -z $release; then
+  release="0.fc7"
+fi
+
+sed -e "s/SILC_VERSION/$dist_version/" -e "s/SILC_RELEASE/$release/" \
+  silc-toolkit.spec.in > silc-toolkit.spec
+
+./configure
+
+cd doc
+make dist-hook
+rm -rf toolkit
+make toolkit-ref-html
+cp ../lib/doc/*.gif toolkit
+cd ..