Compare commits

...

3 Commits

Author SHA1 Message Date
Roland Häder
58147fb211
Merge branch 'master' into master 2018-05-15 01:11:21 +02:00
Roland Haeder
78a9ae129e
Opps, wrong way, now it works.
Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-03-19 19:50:55 +01:00
Roland Haeder
14526c3b89
Some improvements:
- some empty lines added to make it more readable
- "run" target added to Makefile for easy launch from source
- Updated INSTALL.md accordingly

Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-03-19 19:50:55 +01:00
2 changed files with 9 additions and 0 deletions

View File

@ -21,6 +21,9 @@ PyBitmessage can be run two ways: straight from source or via a package which
is installed on your system. Since PyBitmessage is Beta, it is best to run is installed on your system. Since PyBitmessage is Beta, it is best to run
PyBitmessage from source, so that you may update as needed. PyBitmessage from source, so that you may update as needed.
Under Linux/Uni* just do "make run" and PyMessage will be started from source
code without changing to the right path by yourself.
#### Updating #### Updating
To update PyBitmessage from source (Linux/OS X), you can do these easy steps: To update PyBitmessage from source (Linux/OS X), you can do these easy steps:
``` ```

View File

@ -11,6 +11,7 @@ debug:
source: source:
tar -cvf ../${APP}_${VERSION}.orig.tar ../${APPDIR} --exclude-vcs tar -cvf ../${APP}_${VERSION}.orig.tar ../${APPDIR} --exclude-vcs
gzip -f9n ../${APP}_${VERSION}.orig.tar gzip -f9n ../${APP}_${VERSION}.orig.tar
install: install:
mkdir -p ${DESTDIR}/usr mkdir -p ${DESTDIR}/usr
mkdir -p ${DESTDIR}${PREFIX} mkdir -p ${DESTDIR}${PREFIX}
@ -43,6 +44,7 @@ install:
echo ' exec python2 bitmessagemain.py' >> ${DESTDIR}${PREFIX}/bin/${APP} echo ' exec python2 bitmessagemain.py' >> ${DESTDIR}${PREFIX}/bin/${APP}
echo 'fi' >> ${DESTDIR}${PREFIX}/bin/${APP} echo 'fi' >> ${DESTDIR}${PREFIX}/bin/${APP}
chmod +x ${DESTDIR}${PREFIX}/bin/${APP} chmod +x ${DESTDIR}${PREFIX}/bin/${APP}
uninstall: uninstall:
rm -f ${PREFIX}/share/man/man1/${APP}.1.gz rm -f ${PREFIX}/share/man/man1/${APP}.1.gz
rm -rf ${PREFIX}/share/${APP} rm -rf ${PREFIX}/share/${APP}
@ -50,6 +52,7 @@ uninstall:
rm -f ${PREFIX}/share/applications/${APP}.desktop rm -f ${PREFIX}/share/applications/${APP}.desktop
rm -f ${PREFIX}/share/icons/hicolor/scalable/apps/${APP}.svg rm -f ${PREFIX}/share/icons/hicolor/scalable/apps/${APP}.svg
rm -f ${PREFIX}/share/pixmaps/${APP}.svg rm -f ${PREFIX}/share/pixmaps/${APP}.svg
clean: clean:
rm -f ${APP} \#* \.#* gnuplot* *.png debian/*.substvars debian/*.log rm -f ${APP} \#* \.#* gnuplot* *.png debian/*.substvars debian/*.log
rm -fr deb.* debian/${APP} rpmpackage/${ARCH_TYPE} rm -fr deb.* debian/${APP} rpmpackage/${ARCH_TYPE}
@ -60,3 +63,6 @@ clean:
sourcedeb: sourcedeb:
tar -cvf ../${APP}_${VERSION}.orig.tar ../${APPDIR} --exclude-vcs --exclude 'debian' tar -cvf ../${APP}_${VERSION}.orig.tar ../${APPDIR} --exclude-vcs --exclude 'debian'
gzip -f9n ../${APP}_${VERSION}.orig.tar gzip -f9n ../${APP}_${VERSION}.orig.tar
run:
cd src/ && ./bitmessagemain.py