mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Adapt debian/ubuntu package files to use "make install"
This commit is contained in:
parent
a45de1ddb3
commit
d51b4b2b67
@ -1,10 +0,0 @@
|
|||||||
usr/bin
|
|
||||||
usr/sbin
|
|
||||||
usr/share/pixmaps
|
|
||||||
usr/share/applications/
|
|
||||||
usr/share/RetroShare06/
|
|
||||||
usr/share/RetroShare06/webui/
|
|
||||||
usr/share/RetroShare06/sounds/
|
|
||||||
usr/share/icons/hicolor/24x24/apps/
|
|
||||||
usr/share/icons/hicolor/48x48/apps/
|
|
||||||
usr/share/icons/hicolor/64x64/apps/
|
|
@ -1,2 +1 @@
|
|||||||
usr/lib/retroshare/extensions6/libFeedReader.so
|
debian/tmp/usr/lib/retroshare/extensions6/libFeedReader.so*
|
||||||
|
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
usr/bin
|
debian/tmp/usr/bin/RetroShare06-nogui
|
||||||
usr/bin/RetroShare-nogui
|
debian/tmp/usr/share/RetroShare06/bdboot.txt
|
||||||
usr/share
|
debian/tmp/usr/share/RetroShare06/webui/*
|
||||||
usr/share/RetroShare
|
|
||||||
usr/share/RetroShare/bdboot.txt
|
|
||||||
|
|
||||||
|
@ -1,2 +1 @@
|
|||||||
usr/lib/retroshare/extensions6/libVOIP.so
|
debian/tmp/usr/lib/retroshare/extensions6/libVOIP.so*
|
||||||
|
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
usr/share/applications/retroshare.desktop
|
debian/tmp/usr/bin/RetroShare06
|
||||||
usr/share/pixmaps/retroshare.xpm
|
debian/tmp/usr/bin/RetroShare06-nogui
|
||||||
usr/share/RetroShare/bdboot.txt
|
debian/tmp/usr/share/applications/retroshare06.desktop
|
||||||
usr/share/icons/hicolor/48x48/apps/retroshare.png
|
debian/tmp/usr/share/icons/hicolor/*
|
||||||
usr/share/icons/hicolor/24x24/apps/retroshare.png
|
debian/tmp/usr/share/pixmaps/retroshare06.xpm
|
||||||
usr/share/icons/hicolor/64x64/apps/retroshare.png
|
debian/tmp/usr/share/RetroShare06/*
|
||||||
usr/bin
|
|
||||||
usr/bin/RetroShare
|
|
||||||
usr/bin/RetroShare-nogui
|
|
||||||
|
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
builddir:
|
configure: configure-stamp
|
||||||
mkdir -p builddir
|
configure-stamp:
|
||||||
|
dh_testdir
|
||||||
builddir/Makefile: builddir
|
cd src && qmake-qt4 CONFIG=release PREFIX=/usr LIB_DIR=/usr/lib RetroShare.pro
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
build: build-stamp
|
|
||||||
|
|
||||||
build-stamp: builddir/Makefile
|
build: build-stamp
|
||||||
|
build-stamp: configure-stamp
|
||||||
dh_testdir
|
dh_testdir
|
||||||
# Add here commands to compile the package.
|
# Add here commands to compile the package.
|
||||||
# cd libssh-0.6.4 && mkdir -p build && cd build && cmake -DWITH_STATIC_LIB=ON .. && make
|
# cd libssh-0.6.4 && mkdir -p build && cd build && cmake -DWITH_STATIC_LIB=ON .. && make
|
||||||
@ -17,68 +17,24 @@ build-stamp: builddir/Makefile
|
|||||||
# cp -r libssh-0.6.4 lib/
|
# cp -r libssh-0.6.4 lib/
|
||||||
#cp -r sqlcipher lib/
|
#cp -r sqlcipher lib/
|
||||||
#cd src/rsctrl/src && make
|
#cd src/rsctrl/src && make
|
||||||
cd src && qmake-qt4 CONFIG=release RetroShare.pro && make
|
cd src && $(MAKE)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
rm -f build-stamp
|
rm -f configure-stamp build-stamp
|
||||||
# Add here commands to clean up after the build process.
|
# Add here commands to clean up after the build process.
|
||||||
rm -rf builddir
|
[ ! -f src/Makefile ] || (cd src && $(MAKE) distclean)
|
||||||
dh_clean
|
dh_clean
|
||||||
|
|
||||||
install: build
|
install: build
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
dh_clean -k
|
dh_clean -k
|
||||||
dh_installdirs
|
#dh_installdirs
|
||||||
install -D -m 644 src/data/retroshare06.desktop $(CURDIR)/debian/retroshare06/usr/share/applications/retroshare06.desktop
|
cd src && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install
|
||||||
install -D -m 644 src/data/24x24/apps/retroshare06.png $(CURDIR)/debian/retroshare06/usr/share/icons/hicolor/24x24/apps/retroshare06.png
|
|
||||||
install -D -m 644 src/data/48x48/apps/retroshare06.png $(CURDIR)/debian/retroshare06/usr/share/icons/hicolor/48x48/apps/retroshare06.png
|
|
||||||
install -D -m 644 src/data/64x64/apps/retroshare06.png $(CURDIR)/debian/retroshare06/usr/share/icons/hicolor/64x64/apps/retroshare06.png
|
|
||||||
install -D -m 644 src/data/retroshare06.xpm $(CURDIR)/debian/retroshare06/usr/share/pixmaps/retroshare06.xpm
|
|
||||||
install -D -m 644 src/plugins/VOIP/libVOIP.so.1.0.0 $(CURDIR)/debian/retroshare06-voip-plugin/usr/lib/retroshare/extensions6/libVOIP.so
|
|
||||||
install -D -m 644 src/plugins/FeedReader/libFeedReader.so.1.0.0 $(CURDIR)/debian/retroshare06-feedreader-plugin/usr/lib/retroshare/extensions6/libFeedReader.so
|
|
||||||
install -D -m 644 src/libbitdht/src/bitdht/bdboot.txt $(CURDIR)/debian/retroshare06-nogui/usr/share/RetroShare06/bdboot.txt
|
|
||||||
install -D -m 644 src/libbitdht/src/bitdht/bdboot.txt $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/bdboot.txt
|
|
||||||
install -D -m 755 src/retroshare-nogui/src/RetroShare06-nogui $(CURDIR)/debian/retroshare06-nogui/usr/bin/RetroShare06-nogui
|
|
||||||
install -D -m 755 src/retroshare-nogui/src/RetroShare06-nogui $(CURDIR)/debian/retroshare06/usr/bin/RetroShare06-nogui
|
|
||||||
install -D -m 755 src/retroshare-gui/src/RetroShare06 $(CURDIR)/debian/retroshare06/usr/bin/RetroShare06
|
|
||||||
install -D -m 644 src/libresapi/src/webfiles/JSXTransformer.js $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/webui/JSXTransformer.js
|
|
||||||
install -D -m 644 src/libresapi/src/webfiles/RsApi.js $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/webui/RsApi.js
|
|
||||||
install -D -m 644 src/libresapi/src/webfiles/RsXHRConnection.js $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/webui/RsXHRConnection.js
|
|
||||||
install -D -m 644 src/libresapi/src/webfiles/green-black.css $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/webui/green-black.css
|
|
||||||
install -D -m 644 src/libresapi/src/webfiles/gui.jsx $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/webui/gui.jsx
|
|
||||||
install -D -m 644 src/libresapi/src/webfiles/index.html $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/webui/index.html
|
|
||||||
install -D -m 644 src/libresapi/src/webfiles/react.js $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/webui/react.js
|
|
||||||
install -D -m 644 src/retroshare-gui/src/gui/images/logo/logo_splash.png $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/webui/img/logo_splash.png
|
|
||||||
install -D -m 644 src/libresapi/src/webfiles/JSXTransformer.js $(CURDIR)/debian/retroshare06-nogui/usr/share/RetroShare06/webui/JSXTransformer.js
|
|
||||||
install -D -m 644 src/libresapi/src/webfiles/RsApi.js $(CURDIR)/debian/retroshare06-nogui/usr/share/RetroShare06/webui/RsApi.js
|
|
||||||
install -D -m 644 src/libresapi/src/webfiles/RsXHRConnection.js $(CURDIR)/debian/retroshare06-nogui/usr/share/RetroShare06/webui/RsXHRConnection.js
|
|
||||||
install -D -m 644 src/libresapi/src/webfiles/green-black.css $(CURDIR)/debian/retroshare06-nogui/usr/share/RetroShare06/webui/green-black.css
|
|
||||||
install -D -m 644 src/libresapi/src/webfiles/gui.jsx $(CURDIR)/debian/retroshare06-nogui/usr/share/RetroShare06/webui/gui.jsx
|
|
||||||
install -D -m 644 src/libresapi/src/webfiles/index.html $(CURDIR)/debian/retroshare06-nogui/usr/share/RetroShare06/webui/index.html
|
|
||||||
install -D -m 644 src/libresapi/src/webfiles/react.js $(CURDIR)/debian/retroshare06-nogui/usr/share/RetroShare06/webui/react.js
|
|
||||||
install -D -m 644 src/retroshare-gui/src/gui/images/logo/logo_splash.png $(CURDIR)/debian/retroshare06-nogui/usr/share/RetroShare06/webui/img/logo_splash.png
|
|
||||||
install -D -m 644 src/retroshare-gui/src/sounds/alert.wav $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/sounds/alert.wav
|
|
||||||
install -D -m 644 src/retroshare-gui/src/sounds/chat1.wav $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/sounds/chat1.wav
|
|
||||||
install -D -m 644 src/retroshare-gui/src/sounds/chat2.wav $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/sounds/chat2.wav
|
|
||||||
install -D -m 644 src/retroshare-gui/src/sounds/file.wav $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/sounds/file.wav
|
|
||||||
install -D -m 644 src/retroshare-gui/src/sounds/ft_complete.wav $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/sounds/ft_complete.wav
|
|
||||||
install -D -m 644 src/retroshare-gui/src/sounds/ft_incoming.wav $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/sounds/ft_incoming.wav
|
|
||||||
install -D -m 644 src/retroshare-gui/src/sounds/incomingchat.wav $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/sounds/incomingchat.wav
|
|
||||||
install -D -m 644 src/retroshare-gui/src/sounds/notify.wav $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/sounds/notify.wav
|
|
||||||
install -D -m 644 src/retroshare-gui/src/sounds/offline.wav $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/sounds/offline.wav
|
|
||||||
install -D -m 644 src/retroshare-gui/src/sounds/online1.wav $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/sounds/online1.wav
|
|
||||||
install -D -m 644 src/retroshare-gui/src/sounds/online2.wav $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/sounds/online2.wav
|
|
||||||
install -D -m 644 src/retroshare-gui/src/sounds/receive.wav $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/sounds/receive.wav
|
|
||||||
install -D -m 644 src/retroshare-gui/src/sounds/send1.wav $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/sounds/send1.wav
|
|
||||||
install -D -m 644 src/retroshare-gui/src/sounds/send2.wav $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/sounds/send2.wav
|
|
||||||
install -D -m 644 src/retroshare-gui/src/sounds/startup.wav $(CURDIR)/debian/retroshare06/usr/share/RetroShare06/sounds/startup.wav
|
|
||||||
|
|
||||||
# Add here commands to install the package into debian/your_appname
|
|
||||||
# cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install
|
|
||||||
# Build architecture-independent files here.
|
# Build architecture-independent files here.
|
||||||
binary-indep: build install
|
binary-indep: build install
|
||||||
# We have nothing to do by default.
|
# We have nothing to do by default.
|
||||||
@ -87,9 +43,10 @@ binary-indep: build install
|
|||||||
binary-arch: build install
|
binary-arch: build install
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
dh_installdocs
|
dh_install --list-missing
|
||||||
dh_installexamples
|
#dh_installdocs
|
||||||
dh_installman
|
#dh_installexamples
|
||||||
|
#dh_installman
|
||||||
dh_link
|
dh_link
|
||||||
dh_strip
|
dh_strip
|
||||||
dh_compress
|
dh_compress
|
||||||
@ -102,4 +59,3 @@ binary-arch: build install
|
|||||||
|
|
||||||
binary: binary-indep binary-arch
|
binary: binary-indep binary-arch
|
||||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
.PHONY: build clean binary-indep binary-arch binary install configure
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user