Bartosz Feński <bart...@fenski.pl> writes: >> I am packaging some older software (eso-midas, [1]) that installs >> everything into a common directory (f.e. /usr/lib/eso-midas/). However, >> the FHS requires that this should be split between /usr/share/ and >> /usr/lib/<arch>/. In the majority of cases, this could be done >> automatically by recognizing the type with the "file" command: object >> files, libs etc. go to /usr/lib/<arch>/eso-midas/, all text and data >> files to /usr/share/eso-midas (with a link to >> /usr/lib/<arch>/eso-midas). >> >> Is there already a little helper script that does this for me? > > I don't know such script but lintian will show you the files that are > placed inappropriate. > Just direct them to proper location in .install file.
This is quite a large number of files, and one needs to create links for all of them. I can handle this manually somehow, on the other hand it looks like a task that could be automatized via a helper script -- especially if one has to repeat this for every new version. Best regards Ole -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87wqg4eale....@news.ole.ath.cx