[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Lintian shows up several errors



Hi,

> (1) E: gpostman: FSSTND-dir-in-usr usr/doc/
> 
> Will I have to create a postinst script?

You can use the target install in debian/rules by writing something like

mkdir -f $(CURDIR)/debian/<package>/usr/share
mv $(CURDIR)/debian/<package>/usr/doc $(CURDIR)/debian/<package>/usr/share

after the lines

        # Add here commands to install the package into debian/<package>.
        $(MAKE) install DESTDIR=$(CURDIR)/debian/<package>

Greetings
Holger



Reply to: