On Thu, Feb 15, 2018 at 2:04 PM, Marcus Folkesson <marcus.folkesson@xxxxxxxxx> wrote: > Hi Nicolas, > > First of all, thank you for your review. > > On Wed, Feb 14, 2018 at 08:19:44PM +0100, Nicolas Iooss wrote: >> On Wed, Feb 14, 2018 at 10:57 AM, Marcus Folkesson >> <marcus.folkesson@xxxxxxxxx> wrote: >> > I have updated the patchset. >> > >> > The biggest change is that $(DESTDIR) is now used in the >> > install stage only. >> > >> > Also some overidden CFLAGS/LDFLAGS has been removed since we now have >> > explicit build rules. >> > >> > I have moved the changelog into patches. >> > >> > Please test to compile with: >> > make DESTDIR=/tmp/myroot PREFIX=/myusr install >> > or >> > make DESTDIR=/tmp/myroot install >> > >> > Thanks for all feedback. >> > >> > Best regards >> > Marcus Folkesson >> > >> >> Hi, >> Thanks for this update! Here are three comments on this patchset: >> >> * you forgot a $(DESTDIR) occurrence in patch 7. > > Good catch! > >> * .travis.yml needs a simple patch to fix the value of PYSITEDIR. I >> will send it later. > > Please do. > >> * While reading the Makefile after patch 15, I have been surprised by >> "LIBDIR ?= $(DESTDIR)$(PREFIX)/lib", with DESTDIR. As this variable is >> not exported, it works fine as it is, but it might be cleaner to >> define it as "LIBDIR ?= $(PREFIX)/lib" and to use $(DESTDIR) in the >> following lines. This point may be addressed in a follow-up commit >> after the patchset has been merged. > > I agree. > I also think it could be part of a follow-up commit. I will take a note. > >> >> As the patchset looks almost ready to be merged, I have created >> https://github.com/SELinuxProject/selinux/pull/79 with a modified >> patch 7 and my patch for .travis.yml. This pull request holds the >> commits I plan to apply in a few days if no other maintainer disagrees >> with this. > > Ok, then I will not come up with a v6 that fixes your feedback for patch > #7. I have merged this patchset. Thanks! Nicolas