The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / setserial / 0001-build-system-fix.patch
1 Install the setserial program in /usr/bin instead of /bin, and make
2 sure that the directories (especially the manpages directory) are
3 created before installing files to them. This is similar to what
4 automake does.
5
6 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 ---
8  Makefile.in |    7 ++++---
9  1 file changed, 4 insertions(+), 3 deletions(-)
10
11 Index: setserial-2.17/Makefile.in
12 ===================================================================
13 --- setserial-2.17.orig/Makefile.in
14 +++ setserial-2.17/Makefile.in
15 @@ -26,9 +26,10 @@ setserial.cat: setserial.8
16         nroff -man setserial.8 > setserial.cat
17  
18  install: setserial setserial.8
19 -       $(INSTALL_PROGRAM) setserial $(DESTDIR)/bin
20 -       $(STRIP) $(DESTDIR)/bin/setserial
21 -       $(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/man/man8
22 +       mkdir -p $(DESTDIR)/usr/bin
23 +       $(INSTALL_PROGRAM) setserial $(DESTDIR)/usr/bin
24 +       mkdir -p $(DESTDIR)/usr/share/man/man8
25 +       $(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/share/man/man8
26  
27  clean:
28         $(RM) setserial setserial.o setserial.cat *~