Browse Source

Sol Part 62.1: Kids These Days!

Graham Northup 4 years ago
parent
commit
9a503deacc
Signed by: Graham Northup <grissess@nexusg.org> GPG Key ID: 5D000E6F539376FB
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      Makefile

+ 5
- 5
Makefile View File

@@ -14,8 +14,8 @@ ifndef OBJDUMP
14 14
 	OBJDUMP:= objdump
15 15
 endif
16 16
 
17
-ifndef PREFIX
18
-	PREFIX:= /usr/local/
17
+ifndef DESTDIR
18
+	DESTDIR:= /usr/local/
19 19
 endif
20 20
 
21 21
 include VERSION_INFO
@@ -33,13 +33,13 @@ all: dsl $(LINKED_VERS)
33 33
 install: install_bin
34 34
 
35 35
 install_bin: sol$(SOL_VER) $(LINKED_VERS)
36
-	install $? $(PREFIX)/bin/
36
+	install $? $(DESTDIR)/bin/
37 37
 
38 38
 uninstall: uninstall_bin
39 39
 
40 40
 uninstall_bin:
41
-	rm $(PREFIX)/bin/sol$(SOL_VER)
42
-	for fname in $(LINKED_VERS); do rm $(PREFIX)/bin/$$fname; done
41
+	rm $(DESTDIR)/bin/sol$(SOL_VER)
42
+	for fname in $(LINKED_VERS); do rm $(DESTDIR)/bin/$$fname; done
43 43
 
44 44
 $(LINKED_VERS): sol$(SOL_VER)
45 45
 	rm $@; ln -s $? $@

Loading…
Cancel
Save