File debian.rules of Package retroshare-service-0.6.6
#!/usr/bin/make -f configure: configure-stamp configure-stamp: dh_testdir QT_SELECT=qt5 qmake --version gcc --version QT_SELECT=qt5 qmake CONFIG-=debug CONFIG+=release PREFIX=/usr \ LIB_DIR=/usr/lib \ RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=6 \ RS_EXTRA_VERSION="-retroshare-service-OBS-deb" \ CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_gui \ CONFIG+=no_tests CONFIG+=c++14 \ CONFIG+=retroshare_service CONFIG+=rs_jsonapi \ RetroShare.pro touch $@ build: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) -j$(shell nproc) touch $@ clean: dh_testdir dh_testroot rm -f configure-stamp build-stamp # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean dh_clean install: build dh_testdir dh_testroot dh_clean -k #dh_installdirs $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install # Remove bdboot.txt because it is shippend within retroshare-common rm $(CURDIR)/debian/tmp/usr/share/retroshare/bdboot.txt # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_install --list-missing #dh_installdocs #dh_installexamples #dh_installman dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure