Re: Please help fix lintian hardening-no-relro problem
On Thu, Sep 11, 2014 at 12:37:11AM +0000, T o n g wrote:
> clean:
> rm -f *.o *~
>
> cleanall: clean
> rm -f histring
This is wrong, the clean target should clean everything.
> dh_auto_build
> make[1]: Entering directory '/export/build/pkg/histring/bld/
> histring-1.1.0_Simplified'
> make[1]: Nothing to be done for 'all'.
You didn't rebuild the binary here.
> >> > You are not using dh_auto_* commands nor exporting flags manually,
> >> > hence dpkg-buildflags isn't used in the build process.
> >> Would you mind telling me how to do it please? I'm reverting back to
> >> such unnecessarily long d/rules because I wasn't able to put back the
> >> auto- make rules back into the above short version.
> > What "automake rules"?
>
> Oh, I meant using './configure' to generate Makefile from Makefile.in or
> Makefile.am. I don't know how to put the rules in to start from there.
dh runs dh_auto_configure which runs ./configure
You should use the dh-autoreconf package to generate Makefile.in from
Makefile.am.
--
WBR, wRAR
Reply to: