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