M2
M2 copied to clipboard
making links from an html file to an auxiliary file in a package
trafficstars
There seems to be no way to make a link from an html file to an auxiliary file in a package that works both with SeparateExec => false and SeparateExec => true. The Visualize package is an example of this.
Try this:
uninstallAllPackages ()
run "rm -rf /tmp/Packages-*"
makeDirectory "/tmp/Packages-1"
makeDirectory "/tmp/Packages-2"
installPackage ("Visualize", InstallPrefix => "/tmp/Packages-1", SeparateExec => false)
installPackage ("Visualize", InstallPrefix => "/tmp/Packages-2", SeparateExec => true)
run ("find '" | applicationDirectory() | "' /tmp/Packages-* -name \\*.html -print0 -o -name templates -prune -false | xargs -0 ~/src/M2/M2.git/M2/BUILD/dan/builds.tmp/gallium-master/Macaulay2/html-check-links/html-check-links --no-limit")