On 01/16/2014 02:05 AM, Chris Morley wrote: > While doing some testing work i wanted to build a deb. > I found this wiki page: > > http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Buildyourowndebpackages > > It always fails for me saying there are a bunch of docs left in the > tmp file. files such as: > > gcode_overview.html > gcode_main.html > looks like anything starting with gcode and ending in .html
I just tried the procedure on the wiki and it worked for me. Can you capture the full output and paste it somewhere? > 1) is the wiki page out of date or the debuilder scripts out of date? The wiki page looks nearly correct, the only things I'd add is this: After checking out the branch, run 'git clean -fdx .' in the root of the git checkout, to clean out any old files that dont belong in that branch. After running 'configure -r' in debian/, run 'dpkg-checkbuilddeps' in the root of the git checkout, to see if you need to install any extra packages in order to build correctly. > 2) is there better documentation ( a README even ) Not that I know of. > 3) it would be nice if one could add a switch to not build docs. For the deb package, there is currently no such switch. I think the use case of building debs without docs is rare, and it's not totally easy to implement. I think you'd be better off fixing whatever's keeping the debs from building successfully on your machine. Also keep in mind that you can have the buildbot build your deb for you, by just pushing a branch with the changes you want to test. To build debs without docs you'd need a new switch to debian/configure that tells it to disable the docs. That switch would have to change debian/linuxcnc.files.in to not include the docs files in the package. We already have a mechanism to *add* files to the deb package from debian/configure, so maybe the docs could be absent from linuxcnc.files.in but added by default, and this hypothetical new switch could inhibit that default behavior. If one were to add it, i would be happy to review the patch ;-) -- Sebastian Kuzminsky ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers