manpage
This commit is contained in:
parent
3be2895d0b
commit
3128bf57a7
6
Makefile
6
Makefile
|
@ -10,9 +10,9 @@ source:
|
|||
gzip -f9n ../${APP}_${VERSION}.orig.tar
|
||||
install:
|
||||
mkdir -p ${DESTDIR}${PREFIX}/bin
|
||||
install -m 755 -s src/${APP} ${DESTDIR}${PREFIX}/bin
|
||||
install -m 755 -s src/${APP}-prep ${DESTDIR}${PREFIX}/bin
|
||||
install -m 755 -s src/${APP}-tordongle ${DESTDIR}${PREFIX}/bin
|
||||
install -m 755 src/${APP} ${DESTDIR}${PREFIX}/bin
|
||||
install -m 755 src/${APP}-prep ${DESTDIR}${PREFIX}/bin
|
||||
install -m 755 src/${APP}-tordongle ${DESTDIR}${PREFIX}/bin
|
||||
mkdir -m 755 -p ${DESTDIR}${PREFIX}/share/man/man1
|
||||
install -m 644 man/${APP}.1.gz ${DESTDIR}${PREFIX}/share/man/man1
|
||||
uninstall:
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash
|
||||
|
||||
APP=freedombone
|
||||
PREV_VERSION=1.00
|
||||
VERSION=1.00
|
||||
ARCH_TYPE="all"
|
||||
DIR=${APP}-${VERSION}
|
||||
|
||||
#update version numbers automatically - so you don't have to
|
||||
sed -i 's/VERSION='${PREV_VERSION}'/VERSION='${VERSION}'/g' Makefile
|
||||
sed -i 's/VERSION="'${PREV_VERSION}'"/VERSION="'${VERSION}'"/g' src/freedombone
|
||||
|
||||
# change the parent directory name to debian format
|
||||
mv ../${APP} ../${DIR}
|
||||
|
||||
# Create a source archive
|
||||
make clean
|
||||
make source
|
||||
|
||||
# Build the package
|
||||
dpkg-buildpackage -F
|
||||
|
||||
# sign files
|
||||
gpg -ba ../${APP}_${VERSION}-1_${ARCH_TYPE}.deb
|
||||
gpg -ba ../${APP}_${VERSION}.orig.tar.gz
|
||||
|
||||
# restore the parent directory name
|
||||
mv ../${DIR} ../${APP}
|
Binary file not shown.
Loading…
Reference in New Issue