Commit 5db078d4 authored by Langella Olivier's avatar Langella Olivier
Browse files

better debian rule file

parent 53f34e88
...@@ -48,7 +48,9 @@ Description: Mass Chromatogram Quantification shared libraries ...@@ -48,7 +48,9 @@ Description: Mass Chromatogram Quantification shared libraries
Package: masschroq-doc Package: masschroq-doc
Architecture: all Architecture: all
Depends: ${shlibs:Depends} Depends: ${shlibs:Depends}
Suggests: masschroq, masschroq-gui, masschroq-studio Suggests: masschroq,
masschroq-gui,
masschroq-studio
Description: Mass Chromatogram Quantification documentation Description: Mass Chromatogram Quantification documentation
Installs PDF documentation for MassChroQ in /usr/share/doc/masschroq Installs PDF documentation for MassChroQ in /usr/share/doc/masschroq
...@@ -56,8 +58,14 @@ Description: Mass Chromatogram Quantification documentation ...@@ -56,8 +58,14 @@ Description: Mass Chromatogram Quantification documentation
Package: masschroq Package: masschroq
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, masschroq-common (= ${binary:Version}), libqt5core5a, libqt5xml5 Depends: ${shlibs:Depends},
Suggests: masschroq-doc, masschroq-gui, masschroq-studio masschroq-common (= ${binary:Version}),
libqt5core5a,
libqt5xml5
Suggests: xtpcpp,
masschroq-doc,
masschroq-gui,
masschroq-studio
Description: Mass Chromatogram Quantification CLI (Command Line Interface) Description: Mass Chromatogram Quantification CLI (Command Line Interface)
MassChroQ (Mass Chromatogram Quantification) software performs quantification MassChroQ (Mass Chromatogram Quantification) software performs quantification
of data obtained from LC-MS (Liquid Chromatography - Mass Spectrometry) techniques. of data obtained from LC-MS (Liquid Chromatography - Mass Spectrometry) techniques.
...@@ -102,7 +110,11 @@ Description: Mass Chromatogram Quantification graphical user interface to edit p ...@@ -102,7 +110,11 @@ Description: Mass Chromatogram Quantification graphical user interface to edit p
Package: masschroq-condor Package: masschroq-condor
Architecture: all Architecture: all
Depends: ${shlibs:Depends}, masschroq, condor Depends: ${shlibs:Depends},
Suggests: masschroq-doc, masschroq-gui, masschroq-studio masschroq,
condor
Suggests: masschroq-doc,
masschroq-gui,
masschroq-studio
Description: Perl script to launch MassChroQ via condor job queue Description: Perl script to launch MassChroQ via condor job queue
Perl script to launch MassChroQ via condor job queue Perl script to launch MassChroQ via condor job queue
#!/usr/bin/make -f #!/usr/bin/make -f
# -*- makefile -*- # -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode. # Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1 #export DH_VERBOSE=1
export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export QTVERSION=4.6.3 %:
export DESTDIR=$(CURDIR)/debian/tmp dh $@ --buildsystem=cmake --parallel
# dh $@ --buildsystem=cmake --parallel
override_dh_auto_configure:
dh_auto_configure -- -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" -DCMAKE_INSTALL_PREFIX=/usr -DGO_LATEX=true -DCMAKE_BUILD_TYPE=Release
override_dh_auto_build:
configure: configure-stamp dh_auto_build
configure-stamp: dh_auto_build -- pdf
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DGO_LATEX=true .
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
$(MAKE) pdf
$(MAKE)
#docbook-to-man debian/abiftake.sgml > abiftake.1
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp CMakeCache.txt
# Add here commands to clean up after the build process.
-$(MAKE) clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
# Add here commands to install the package into debian/masschroq.
$(MAKE) DESTDIR=$(DESTDIR) install
# 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_installchangelogs
dh_installdocs
dh_installexamples
dh_install
dh_installmenu
dh_installdebconf
dh_installlogrotate
dh_installemacsen
dh_installpam
dh_installmime
#dh_pysupport
dh_installinit
dh_installcron
dh_installinfo
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
dh_perl
dh_makeshlibs
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment