summaryrefslogtreecommitdiffstats
path: root/comms/aldo/files/patch-Makefile
blob: 06ec482e71384d30062b560ee4730ed866a5d935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- Makefile.old	Tue Mar 16 21:13:21 2004
+++ Makefile	Tue Mar 16 21:14:20 2004
@@ -3,6 +3,8 @@
 includedir = $(CURDIR)/include
 CXXFLAGS+= -I$(includedir)
 
+PREFIX ?= /usr
+
 export MARCH CXXFLAGS
 
 VPATH = src $(SUBDIRS)
@@ -65,7 +67,7 @@
 
 install: libs aldo uninstall
 	@strip aldo
-	@install -m555 -oroot aldo /usr/bin/
+	@install -m555 -oroot aldo $(PREFIX)/bin/
 
 uninstall:
-	@$(RM) /usr/bin/aldo
+	@$(RM) $(PREFIX)/bin/aldo
OpenPOWER on IntegriCloud