redy for first test
This commit is contained in:
12
autogen.sh
12
autogen.sh
@@ -9,6 +9,14 @@ function clean() {
|
||||
function copy() {
|
||||
echo "copy files ..."
|
||||
# shorter
|
||||
mkdir -p build/usr/bin/
|
||||
cp -v src/shorter build/usr/bin/shorter
|
||||
chmod +x build/usr/bin/shorter
|
||||
|
||||
##changelog
|
||||
#mkdir -p build/usr/share/doc/shorter
|
||||
#cp -v changes/shorter.md build/usr/share/doc/shorter/changelog
|
||||
#gzip --best build/usr/share/doc/shorter/changelog
|
||||
}
|
||||
|
||||
#modes
|
||||
@@ -29,7 +37,7 @@ function install() {
|
||||
copy
|
||||
|
||||
#set owner
|
||||
chown -r root:root build/
|
||||
chown -R root:root build/
|
||||
|
||||
#install
|
||||
cp -f -r build/* /
|
||||
@@ -56,7 +64,7 @@ function build-deb() {
|
||||
sed -i "s/<SIZE>/$SIZE/g" build/DEBIAN/control
|
||||
|
||||
#set owner
|
||||
chown -r root:root build/
|
||||
chown -R root:root build/
|
||||
|
||||
##
|
||||
#build deb
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
#@date 2019-03-04
|
||||
#@version 0.1
|
||||
echo
|
||||
#@author markus@obermui.de, 6543@obermui.de
|
||||
|
||||
arg1="$1"
|
||||
[ "$arg1" == "--help" ] &&
|
||||
|
Reference in New Issue
Block a user