Russ Allbery wrote:
Is it possible to do this without messing around with Makefile.am, which in turn will require rebuilding the automake stuff?The text of the RFCs is copyrighted. The mapping tables in the RFCs cannot be under US copyright law, and I believe copyright law in other countries is similar. I'm guessing (I haven't looked closely) that what's happening here is that the build process is generating code from the tables in the RFC appendices. It should be fine if you strip the text of the RFC out in the Debian upstream source tarball and include only the tables that are used in the code generation process. You can probably steal code from the Heimdal code generation process itself to do that automatically, and then run that script on new upstream tarballs to generate the Debian *.orig.tar.gz.
My first attempt didn't turn out so well: make[3]: Leaving directory `/home/brian/tmp/debian/mine/heimdal/heimdal-1.2.dfsg.1/lib/sl' Making all in wind make[3]: Entering directory `/home/brian/tmp/debian/mine/heimdal/heimdal-1.2.dfsg.1/lib/wind' make[3]: *** No rule to make target `rfc3454.txt', needed by `bidi_table.c'. Stop. make[3]: Leaving directory `/home/brian/tmp/debian/mine/heimdal/heimdal-1.2.dfsg.1/lib/wind' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/brian/tmp/debian/mine/heimdal/heimdal-1.2.dfsg.1/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/brian/tmp/debian/mine/heimdal/heimdal-1.2.dfsg.1' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2I guess I could touch rfc3454.txt and then touch bidi_table.c before building, but this looks like it could get messy...
Brian May