release/ > dist/

This commit is contained in:
Martin Dvorak 2013-12-26 01:05:38 +01:00
parent 9f024db4c6
commit a03cb7c692
7 changed files with 75 additions and 0 deletions

12
dist/clean.sh vendored Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
rm -vrf ../.git ../.settings ../Debug ../Release ../.cproject ../.project ../.gitignore
rm -vf *.*~ ../*.*~ ../src/*.*~
rm -rvf ../atom5te.cache
rm -vf ../man/Makefile ../man/Makefile.in
rm -vf ../src/Makefile ../src/Makefile.in ../src/hh ../src/*.o
rm -rvf ../src/.deps
rm -vf ../Makefile ../Makefile.in ../aclocal.m4 ../config.log ../config.status ../configure ../depcomp ../install-sh ../missing
# eof

10
dist/deb-build.sh vendored Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
rm -vf *.*~
cd ..
bzr commit -m "Sync."
bzr builddeb -- -us -uc
bzr builddeb -S && cd ../build-area && pbuilder-dist raring build hh_0.7-0ubuntu1.dsc
# eof

7
dist/deb-push.sh vendored Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
cd ../..
bzr push lp:~ultradvorka/+junk/hh-package
dput ppa:ultradvorka hh_0.7-1ubuntu2_source.changes
# eof

18
dist/deb.sh vendored Executable file
View file

@ -0,0 +1,18 @@
#!/bin/bash
# copy hstr/ source code to a work directory and run this script to create DEB package
mv -vf ../debian ../..
./dist.sh
cd ../..
mv hstr hh-0.7
tar zcf hh-0.7.tgz hh-0.7
bzr dh-make hh 0.7 hh-0.7.tgz
cd hh
rm -rvf debian
cp -vrf ../debian .
bzr commit -m "Initial commit of Debian packaging."
bzr builddeb -- -us -uc
bzr builddeb -S && cd ../build-area && pbuilder-dist raring build hh_0.7-0ubuntu1.dsc
# eof

17
dist/dist.sh vendored Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
./clean.sh
cd ..
aclocal
automake --force-missing --add-missing
autoconf
rm -vf depcomp install-sh missing
cp -vf /usr/share/automake-1.11/depcomp .
cp -vf /usr/share/automake-1.11/install-sh .
cp -vf /usr/share/automake-1.11/missing .
cd bin
# eof

5
dist/man.sh vendored Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
cd ../man && groff -man -Tascii hh.1
# eof

6
dist/ppa-add.sh vendored Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
sudo add-apt-repository ppa:ultradvorka/ppa
sudo apt-get update
# eof