Logoj0ke.net Open Build Service > Projects > stresslinux > memtest86 > fix-destdir
Sign Up | Log In

File fix-destdir of Package memtest86

x
 
1
diff -ur memtest86+-1.70.orig/Makefile memtest86+-1.70/Makefile
2
--- memtest86+-1.70.orig/Makefile   2006-12-27 02:34:57.000000000 +0100
3
+++ memtest86+-1.70/Makefile    2007-01-25 16:34:01.000000000 +0100
4
@@ -7,6 +7,7 @@
5
 # Path for the floppy disk device
6
 #
7
 FDISK=/dev/fd0
8
+TARGETDIR=/boot
9
 
10
 CC=gcc
11
 #
12
@@ -116,7 +117,10 @@
13
 wormkill: 
14
    rm -f *~
15
 
16
-install: all
17
+install:
18
+   install -o root -g root memtest.bin $(DESTDIR)$(TARGETDIR)/
19
+
20
+install-floppy: all
21
    dd <memtest.bin >$(FDISK) bs=8192
22
 
23
 install-bin:
24
Only in memtest86+-1.70: Makefile.orig
25