File debian.rules of Package elokab-files-manager

# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/qmake.mk
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

# This is the debhelper compatibility version to use.
export DH_COMPAT=4
export QTCHOOSER_RUNTOOL=qtconfig
export QT_SELECT=5

#build: build-stamp
build-stamp/elokab-files-manager::
	dh_testdir
	qmake elokab-files-manager.pro
	make 

clean/elokab-files-manager::
	dh_testdir
	dh_testroot
	rm -f build-stamp
# Add here commands to clean up after the build process.
	rm -rf build
        dh_clean

install/elokab-files-manager:: 
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs
	mkdir -p $(CURDIR)/debian/elokab-files-manager/usr
	mkdir -p $(CURDIR)/debian/elokab-files-manager/etc
	
	cp -R $(CURDIR)/usr  $(DEB_DESTDIR)debian/elokab-files-manager/
	cp -R $(CURDIR)/etc  $(DEB_DESTDIR)debian/elokab-files-manager/
    
# 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_installdebconf
#	dh_installdocs
#	dh_installexamples
#	dh_installmenu
#	dh_installlogrotate
#	dh_installemacsen
#	dh_installpam
#	dh_installmime
#	dh_installinit
#	dh_installcron
#	dh_installman
	dh_installinfo
#	dh_undocumented
	dh_installchangelogs
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
#	dh_makeshlibs
	dh_installdeb
#	dh_perl
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb
# fin de loperation de compilation.
binary: binary-arch
.PHONY: build clean binary-arch binary install
openSUSE Build Service is sponsored by