File fix-destdir of Package memtest86+
31
1
--- memtest86+-5.01/Makefile.old 2013-08-10 04:01:58.000000000 +0200
2
+++ memtest86+-5.01/Makefile 2013-11-07 11:48:01.000000000 +0100
3
@@ -8,6 +8,7 @@
4
# Path for the floppy disk device
5
#
6
FDISK=/dev/fd0
7
+TARGETDIR=/boot
8
9
AS=as -32
10
CC=gcc
11
@@ -21,7 +22,6 @@ OBJS= head.o reloc.o main.o test.o init.
12
13
14
all: clean memtest.bin memtest
15
- scp memtest.bin root@192.168.0.12:/srv/tftp/mt86plus
16
17
# Link it statically once so I know I don't have undefined
18
# symbols and then link it dynamically so I have full
19
@@ -71,7 +71,10 @@ iso:
20
make all
21
./makeiso.sh
22
23
-install: all
24
+install:
25
+ install -o root -g root memtest.bin $(DESTDIR)$(TARGETDIR)/
26
+
27
+install-floppy: all
28
dd <memtest.bin >$(FDISK) bs=8192
29
30
install-precomp:
31