Skip to content
Snippets Groups Projects
Commit 584bdafa authored by Dilawar Singh's avatar Dilawar Singh
Browse files

USe default cmake template to build debian package.

parent 06aeb7c1
No related branches found
No related tags found
No related merge requests found
...@@ -151,7 +151,7 @@ endif() ...@@ -151,7 +151,7 @@ endif()
################################################################################ ################################################################################
# CTEST # CTEST
################################################################################# #################################################################################
if(CMAKE_BUILD_TYPE EQUAL "DEBUG") if("${CMAKE_BUILD_TYPE}" EQUAL "DEBUG")
enable_testing( ) enable_testing( )
add_test( NAME test_pymoose_sanity add_test( NAME test_pymoose_sanity
COMMAND ${PYTHON_EXECUTABLE} -c "import moose" COMMAND ${PYTHON_EXECUTABLE} -c "import moose"
......
#!/usr/bin/make -f #!/usr/bin/make -f
# export DH_VERBOSE=1 export DH_VERBOSE=1
## Here goes the debian make.
%: %:
dh "$@" --buildsystem=cmake dh "$@" --buildsystem=cmake
override_dh_auto_configure:
dh_auto_configure -- -DVERSION_MOOSE=3.1.3 -DCMAKE_INSTALL_PREFIX=debian/tmp/usr
##override_dh_auto_clean: ##override_dh_auto_clean:
## dh_auto_clean --buildsystem=cmake ## dh_auto_clean --buildsystem=cmake
## ##
### consider using -DUSE_VERSIONED_DIR=ON if backporting ### consider using -DUSE_VERSIONED_DIR=ON if backporting
##override_dh_auto_configure:
## cmake -DVERSION_MOOSE=3.1.3 -DCMAKE_INSTALL_PREFIX=debian/tmp/usr .
## ##
##override_dh_auto_build: ##override_dh_auto_build:
## make VERBOSE=0 -j`nproc` ## make VERBOSE=0 -j`nproc`
......
...@@ -61,5 +61,5 @@ setup( ...@@ -61,5 +61,5 @@ setup(
], ],
install_requires = [ 'python-libsbml', 'numpy' ], install_requires = [ 'python-libsbml', 'numpy' ],
package_dir = { 'moose' : 'moose', 'rdesigneur' : 'rdesigneur' }, package_dir = { 'moose' : 'moose', 'rdesigneur' : 'rdesigneur' },
package_data = { 'moose' : ['_moose*%s' % suffix ] }, package_data = { 'moose' : ['_moose%s' % suffix ] },
) )
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