Merge pull request #290 from dpc/master
Tiny building scripts improvements.
This commit is contained in:
commit
eed8c66512
8
Makefile
8
Makefile
|
@ -35,6 +35,14 @@ install:
|
||||||
install -m 644 desktop/can-icon.svg ${DEST_SHARE}/icons/hicolor/scalable/apps/${APP}.svg
|
install -m 644 desktop/can-icon.svg ${DEST_SHARE}/icons/hicolor/scalable/apps/${APP}.svg
|
||||||
install -m 644 desktop/can-icon.svg ${DEST_SHARE}/pixmaps/${APP}.svg
|
install -m 644 desktop/can-icon.svg ${DEST_SHARE}/pixmaps/${APP}.svg
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -Rf "${DEST_APP}"
|
||||||
|
rm -f "${DESTDIR}/usr/bin/${APP}"
|
||||||
|
rm -f "${DEST_SHARE}/applications/${APP}.desktop"
|
||||||
|
rm -f "${DEST_SHARE}/icons/hicolor/24x24/apps/${APP}.png"
|
||||||
|
rm -f "${DEST_SHARE}/icons/hicolor/scalable/apps/${APP}.svg"
|
||||||
|
rm -f "${DEST_SHARE}/pixmaps/${APP}.svg"
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf debian/${APP}
|
rm -rf debian/${APP}
|
||||||
rm -f ../${APP}_*.deb ../${APP}_*.asc ../${APP}_*.dsc ../${APP}*.changes
|
rm -f ../${APP}_*.deb ../${APP}_*.asc ../${APP}_*.dsc ../${APP}*.changes
|
||||||
|
|
|
@ -23,7 +23,7 @@ mv ../PyBitmessage ../${APP}-${VERSION}
|
||||||
make source
|
make source
|
||||||
|
|
||||||
# Build the package
|
# Build the package
|
||||||
dpkg-buildpackage -A
|
dpkg-buildpackage -A || exit 1
|
||||||
|
|
||||||
# change the directory name back
|
# change the directory name back
|
||||||
mv ../${APP}-${VERSION} ../PyBitmessage
|
mv ../${APP}-${VERSION} ../PyBitmessage
|
||||||
|
|
Loading…
Reference in New Issue
Block a user