#!/usr/bin/make -f

%:
	dh $@ --buildsystem R

# by default, dh_vignette is run before dh_auto_install, but we need to
# run dh_auto_install first so the package is compiled
execute_after_dh_auto_install:
	R_LIBS=debian/r-cran-sets/usr/lib/R/site-library dh_vignette
