From 59754cbb8dd225c1b1e41a877f70edd1e649602d Mon Sep 17 00:00:00 2001
From: Tomas Plesnik <plesnik@ics.muni.cz>
Date: Wed, 2 Oct 2013 16:18:47 +0200
Subject: [PATCH] odebrano kopirovani souboru AUTHORS, CHANGELOG a LICENSE do
 root adresare balicku; pridano vytvareni MANIFEST souboru pro balickovou
 adresarovou strukturu

---
 packages/build-server.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/packages/build-server.sh b/packages/build-server.sh
index af3d021..0169d75 100755
--- a/packages/build-server.sh
+++ b/packages/build-server.sh
@@ -50,13 +50,9 @@ echo -n "Building 'base' directory ... "
 mkdir -p "$package" 2> "$err" || err
 cp "../src/${package_name}/sh/install.sh" "$package" 2> "$err" || err
 cp "../src/${package_name}/sh/update.sh" "$package" 2> "$err" || err
-cp "../src/${package_name}/doc/AUTHORS" "$package" 2> "$err" || err
-cp "../src/${package_name}/doc/CHANGELOG" "$package" 2> "$err" || err
 cp "../src/${package_name}/doc/INSTALL" "$package" 2> "$err" || err
-cp "../src/${package_name}/doc/LICENSE" "$package" 2> "$err" || err
 cp "../src/${package_name}/doc/README" "$package" 2> "$err" || err
 cp "../src/${package_name}/doc/UPDATE" "$package" 2> "$err" || err
-
 echo "OK"
 
 echo -n "Building '${bin}' directory ... "
@@ -86,6 +82,10 @@ mkdir -p "$sh" 2> "$err" || err
 cp "../src/${package_name}/sh/uninstall.sh" "$sh" 2> "$err" || err
 echo "OK"
 
+echo -n "Creating MANIFEST file ... "
+cd "$package" && find . -mindepth 2 -type f | sed 's/.tmpl//' | sed 's/.\///'  > "doc/MANIFEST" && cd $OLDPWD || err
+echo "OK"
+
 
 # create tarball
 echo -n "Creating $tar tarball ... "
-- 
GitLab