memtester-4.2.1-makefile-fix.patch 771 B

1234567891011121314151617181920212223
  1. The a/{b,c} construct doesn't work within make, so let's split the
  2. creation of the installation directories in two commands.
  3. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  4. ---
  5. Makefile | 3 ++-
  6. 1 file changed, 2 insertions(+), 1 deletion(-)
  7. Index: memtester-4.2.1/Makefile
  8. ===================================================================
  9. --- memtester-4.2.1.orig/Makefile
  10. +++ memtester-4.2.1/Makefile
  11. @@ -25,8 +25,9 @@
  12. all: memtester
  13. install: all
  14. - mkdir -m 755 -p $(INSTALLPATH)/{bin,man/man8}
  15. + mkdir -m 755 -p $(INSTALLPATH)/bin
  16. install -m 755 memtester $(INSTALLPATH)/bin/
  17. + mkdir -m 755 -p $(INSTALLPATH)/man/man8
  18. gzip -c memtester.8 >memtester.8.gz ; install -m 644 memtester.8.gz $(INSTALLPATH)/man/man8/
  19. auto-ccld.sh: \