Skip to content

Commit 5639c42

Browse files
committed
more
1 parent a7753d5 commit 5639c42

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Makefile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ python:
1717
# python3 setup.py install --user # deprecated
1818
# python3 -m build # requires the 'build' package, creates an isolated envir
1919
# -DQUITEFASTMST_PROFILER
20-
CPPFLAGS="${CPPFLAGS} -UNDEBUG -DDEBUG -Wpedantic -Wextra -Wall" python3 -m pip install .
20+
CPPFLAGS="${CPPFLAGS} -UNDEBUG -DDEBUG -Wpedantic -Wextra -Wall" python3 -m pip install . --no-build-isolation
2121

2222
py-test: python
2323
pytest
@@ -27,17 +27,18 @@ py-test: python
2727

2828
r-autoconf:
2929
Rscript -e 'Rcpp::compileAttributes()'
30-
CXX_DEFS="${CPPFLAGS} -UNDEBUG -DDEBUG -Wall -Wextra -Wpedantic" R CMD INSTALL . --preclean
30+
#CXX_DEFS="${CPPFLAGS} -UNDEBUG -DDEBUG -Wall -Wextra -Wpedantic" R CMD INSTALL . --preclean
31+
32+
r: r-autoconf
33+
CXX_DEFS="${CPPFLAGS} -UNDEBUG -DDEBUG -Wall -Wextra -Wpedantic" R CMD INSTALL . --html
3134
# Roxygen2 adds the -O0 flag if load_installed is not passed!
3235
Rscript -e "\
3336
source('.devel/roxygen2-patch.R');\
3437
roxygenise(\
3538
roclets=c('rd', 'collate', 'namespace', 'vignette'), \
3639
load_code=roxygen2::load_installed\
3740
)"
38-
39-
r: r-autoconf
40-
R CMD INSTALL . --html
41+
CXX_DEFS="${CPPFLAGS} -UNDEBUG -DDEBUG -Wall -Wextra -Wpedantic" R CMD INSTALL . --html
4142

4243
r-test: r
4344
Rscript -e 'source(".devel/tinytest.R")'
@@ -66,7 +67,7 @@ weave:
6667
news:
6768
cd .devel/sphinx && cp ../../NEWS news.md
6869

69-
html: news weave rd2myst weave-examples
70+
html: r python news weave rd2myst weave-examples
7071
rm -rf .devel/sphinx/_build/
7172
cd .devel/sphinx && make html
7273
.devel/sphinx/fix-html.sh .devel/sphinx/_build/html/rapi/
@@ -75,7 +76,7 @@ html: news weave rd2myst weave-examples
7576
@echo "*** Browse the generated documentation at"\
7677
"file://`pwd`/.devel/sphinx/_build/html/index.html"
7778

78-
docs: python r html
79+
docs: html
7980
@echo "*** Making 'docs' is only recommended when publishing the "\
8081
"official release, because it updates the package homepage."
8182
@echo "*** Therefore, we check if the package version is like 1.2.3 "\

0 commit comments

Comments
 (0)