Closed GoogleCodeExporter closed 9 years ago
Last patch forgot to add a mkdir -p $(DESTDIR)$(libdir). New patch adds this
extra command.
Original comment by william%...@gtempaccount.com
on 7 Jul 2010 at 7:42
Attachments:
$(DESTDIR)$(libdir)/re2, I meant.
Original comment by william%...@gtempaccount.com
on 7 Jul 2010 at 7:43
Nope. The patch was wrong, not my description. Just `mkdir -p
$(DESTDIR)$(libdir)'. Sorry for the chatter.
Original comment by william%...@gtempaccount.com
on 7 Jul 2010 at 8:19
Attachments:
Why don't we go one step further and factor out the 444 modes (which are pretty
unusual). I already patch them out in Debian, but could do so more simply with
this change.
Original comment by stefano.rivera
on 7 Jul 2010 at 11:05
Attachments:
Isn't the standard way to accomplish this to use INSTALL, INSTALL_DATA, and
INSTALL_PROGRAM variables? I think that's both the GNU and BSD pattern.
Something like:
INSTALL=install
INSTALL_DATA=$(INSTALL) -m 644
INSTALL_PROGRAM=$(INSTALL) -m 755
$(DESTDIR)$(libdir)/libre2.so: re2.so
$(INSTALL_DATA) $< $@
Original comment by william%...@gtempaccount.com
on 8 Jul 2010 at 12:08
Sounds good. Of course one could also just port it to autotools
Original comment by stefano.rivera
on 8 Jul 2010 at 8:22
There will be no port to autotools.
This is portable code. There is nothing to configure.
Autotools is overkill.
I will make the variable changes though.
Original comment by rsc@swtch.com
on 16 Jul 2010 at 5:06
This issue was closed by revision 8b066f89c3.
Original comment by rsc@swtch.com
on 16 Jul 2010 at 6:18
Original issue reported on code.google.com by
william%...@gtempaccount.com
on 24 Jun 2010 at 1:09Attachments: