[Pcsclite-git-commit] [pcsc-tools] 04/05: Remove useless files now we use autoconf/automake
Ludovic Rousseau
rousseau at moszumanska.debian.org
Sun May 28 20:33:59 UTC 2017
This is an automated email from the git hooks/post-receive script.
rousseau pushed a commit to branch master
in repository pcsc-tools.
commit 4aefaec2079cd3cb335b4dc2f72b7a03f2929dad
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Sun May 28 22:09:55 2017 +0200
Remove useless files now we use autoconf/automake
MANIFEST and create_distrib.sh are no more used to create a .tar.bz2
archive.
---
MANIFEST | 17 -------------
create_distrib.sh | 76 -------------------------------------------------------
2 files changed, 93 deletions(-)
diff --git a/MANIFEST b/MANIFEST
deleted file mode 100644
index a195020..0000000
--- a/MANIFEST
+++ /dev/null
@@ -1,17 +0,0 @@
-ATR_analysis
-ATR_analysis.1p
-Changelog
-gscriptor
-gscriptor.1p
-gscriptor.desktop
-gscriptor.gtk1.2
-LICENCE
-Makefile
-MANIFEST
-pcsc_scan.1
-pcsc_scan.c
-README
-scriptor
-scriptor.1p
-smartcard_list.txt
-test.script
diff --git a/create_distrib.sh b/create_distrib.sh
deleted file mode 100755
index ad670bd..0000000
--- a/create_distrib.sh
+++ /dev/null
@@ -1,76 +0,0 @@
-#/bin/sh -e
-
-# create a new directory named after the current directory name
-# the directory name should be in the form foo-bar.x.y.z
-# the use of "_" is not recommanded since it is a problem for Debian
-
-dir=$(basename $(pwd))
-
-echo -e "Using $dir as directory name\n"
-
-rv=$(echo $dir | sed -e 's/.*-[0-9]\.[0-9]\+\.[0-9]\+/ok/')
-if [ $rv != "ok" ]
-then
- echo "ERROR: The directory name should be in the form foo-bar-x.y.z"
- exit
-fi
-
-if [ -e $dir ]
-then
- echo -e "ERROR: $dir already exists\nremove it and restart"
- exit
-fi
-
-# clean
-echo -n "cleaning..."
-make clean &> /dev/null
-echo "done"
-
-# generate Changelog
-echo -n "generating Changelog..."
-make Changelog &> /dev/null
-echo "done"
-
-present_files=$(tempfile)
-manifest_files=$(tempfile)
-diff_result=$(tempfile)
-
-# find files present
-# remove ^debian and ^create_distrib.sh
-find -type f | grep -v .git | cut -c 3- | grep -v ^create_distrib.sh | grep -v sync.sh | grep -v sort_smartcard_list.py | sort > $present_files
-cat MANIFEST | sort > $manifest_files
-
-# diff the two lists
-diff $present_files $manifest_files | grep '<' | cut -c 2- > $diff_result
-
-if [ -s $diff_result ]
-then
- echo -e "WARGING! some files will not be included in the archive.\nAdd them in MANIFEST"
- cat $diff_result
- echo
-fi
-
-# remove temporary files
-rm $present_files $manifest_files $diff_result
-
-# create the temporary directory
-mkdir $dir
-
-for i in $(cat MANIFEST)
-do
- if [ $(echo $i | grep /) ]
- then
- idir=$dir/${i%/*}
- if [ ! -d $idir ]
- then
- echo "mkdir $idir"
- mkdir $idir
- fi
- fi
- echo "cp $i $dir/$i"
- cp -a $i $dir/$i
-done
-
-tar czvf ../$dir.tar.gz $dir
-rm -r $dir
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/pcsc-tools.git
More information about the Pcsclite-cvs-commit
mailing list