[Genabel-commits] r1300 - in pkg/ProbABEL: doc examples tests
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Aug 22 19:20:27 CEST 2013
Author: lckarssen
Date: 2013-08-22 19:20:26 +0200 (Thu, 22 Aug 2013)
New Revision: 1300
Modified:
pkg/ProbABEL/doc/packaging.txt
pkg/ProbABEL/examples/Makefile.am
pkg/ProbABEL/tests/Makefile.am
Log:
- Small updates to the ProbABEL packaging documentation
- In the examples and tests directories: make sure that the scripts are installed with executable permissions.
Modified: pkg/ProbABEL/doc/packaging.txt
===================================================================
--- pkg/ProbABEL/doc/packaging.txt 2013-08-20 06:24:47 UTC (rev 1299)
+++ pkg/ProbABEL/doc/packaging.txt 2013-08-22 17:20:26 UTC (rev 1300)
@@ -21,20 +21,19 @@
builds correctly for various settings of the ./configure
options. Run the following:
DISTCHECK_CONFIGURE_FLAGS="--disable-eigen" make distcheck
- DISTCHECK_CONFIGURE_FLAGS="--enable-pacoxph" make distcheck
+ DISTCHECK_CONFIGURE_FLAGS="--disable-palinear" make distcheck
+ DISTCHECK_CONFIGURE_FLAGS="--disable-palogist" make distcheck
+ DISTCHECK_CONFIGURE_FLAGS="--disable-pacoxph" make distcheck
** Building the package for the first time
Now that we verified that the source code builds without problems,
let's create the package.
mkdir /tmp/PA-deb
cp probabel-0.3.0.tar.gz /tmp/PA-deb
cd /tmp/PA-deb
- Debian packages must have lowercase letters, so we'll have to rename
- the directory after untar-ing it.
tar -xzf probabel-0.3.0.tar.gz
cd probabel-0.3.0
dh_make --single --email youremail at example.com \
--file ../probabel-0.3.0.tar.gz --copyright gpl2 \
- --packagename probabel
Hit the enter key to confirm the settings. Several files need to be
edited.
@@ -43,7 +42,7 @@
- debian/copyright
- debian/README.Debian
dh_make also creates several example scripts in the debian/
- directory. We don't need them, so they can be delete:
+ directory. We don't need them, so they can be deleted:
rm debian/*.ex debian/*.EX debian/README.source
Now the package can be built (NOTE that dpkg-buildpackage replaces
our default CXXFLAGS with "-g -O2"):
Modified: pkg/ProbABEL/examples/Makefile.am
===================================================================
--- pkg/ProbABEL/examples/Makefile.am 2013-08-20 06:24:47 UTC (rev 1299)
+++ pkg/ProbABEL/examples/Makefile.am 2013-08-22 17:20:26 UTC (rev 1300)
@@ -41,9 +41,6 @@
impute_with_missing_add.out.txt.save \
height_ngp2_robust_domin.out.txt.save height.txt
-exampledir = $(pkgdatadir)/examples
-dist_example_DATA = $(examplefiles)
-
TESTS_ENVIRONMENT = bash
check_SCRIPTS =
if BUILD_palinear
@@ -56,6 +53,10 @@
check_SCRIPTS += example_cox.sh
endif
+exampledir = $(pkgdatadir)/examples
+dist_example_DATA = $(examplefiles)
+dist_example_SCRIPTS = $(check_SCRIPTS) example_all.sh
+
TESTS = $(check_SCRIPTS)
cleanfiles_bt = logist_add.out.txt logist_fv_add.out.txt \
Modified: pkg/ProbABEL/tests/Makefile.am
===================================================================
--- pkg/ProbABEL/tests/Makefile.am 2013-08-20 06:24:47 UTC (rev 1299)
+++ pkg/ProbABEL/tests/Makefile.am 2013-08-22 17:20:26 UTC (rev 1300)
@@ -35,9 +35,6 @@
check_SCRIPTS =
-testsdir = $(pkgdatadir)/tests
-dist_tests_DATA = $(tests_files) $(verified_results)
-
TESTS_ENVIRONMENT = bash
if BUILD_palinear
check_SCRIPTS += $(tests_files)
@@ -45,5 +42,10 @@
TESTS = $(check_SCRIPTS)
+testsdir = $(pkgdatadir)/tests
+dist_tests_DATA = $(tests_files) $(verified_results)
+dist_tests_SCRIPTS = $(check_SCRIPTS)
+
+
CLEANFILES = $(dose_files) $(prob_files) $(map_files) ${info_files} \
${output_files} ${other_files}
More information about the Genabel-commits
mailing list