]> git.donarmstrong.com Git - cran2deb.git/blobdiff - trunk/R/debianpkg.R
trying to a lintian layer similar to patches as we cannot patch inside debian/
[cran2deb.git] / trunk / R / debianpkg.R
index 621c36e0fd928ffd1671489590f9ce6a02089cf7..63aaaddd7237786e9d8d31d2907d8bf71005ad01 100644 (file)
@@ -129,10 +129,13 @@ prepare_new_debian <- function(pkg,extra_deps) {
     pkg$license <- accept_license(pkg)
     pkg$depends <- get_dependencies(pkg,extra_deps)
     apply_patches(pkg)
+    generate_lintian(pkg)
     generate_changelog(pkg)
     generate_rules(pkg)
     generate_copyright(pkg)
     generate_control(pkg)
+    ## debdir <- file.path(pkg$path,'debian')
+    ## system(paste("ls ", debdir, "; ls -l ", debdir, "/patches/*", sep=""))
 
     # convert text to utf8 (who knows what the original character set is --
     # let's hope iconv DTRT).