summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-10 19:43:28 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-10 19:43:28 -0700
commit089ab5e97c50de9e0f566bda9e881e0e3c7cb0bf (patch)
treef6056db1924c42276e2f7d4fc3692ba17c8d040a /Makefile
parentbd8948386d555560477238dc09921b83f07b48b2 (diff)
downloadsubsurface-089ab5e97c50de9e0f566bda9e881e0e3c7cb0bf.tar.gz
Make should expand $(DESTDIR) on install
This clearly was intentionaly - I just have no idea why you would want to do it? Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 47835d306..0c67f40f7 100644
--- a/Makefile
+++ b/Makefile
@@ -47,8 +47,8 @@ $(NAME): $(OBJS)
$(CC) $(LDFLAGS) -o $(NAME) $(OBJS) $(LIBS)
install: $(NAME)
- $(INSTALL) -d -m 755 '$(DESTDIR)'
- $(INSTALL) $(NAME) '$(DESTDIR)'
+ $(INSTALL) -d -m 755 $(DESTDIR)
+ $(INSTALL) $(NAME) $(DESTDIR)
parse-xml.o: parse-xml.c dive.h
$(CC) $(CFLAGS) `pkg-config --cflags glib-2.0` -c `xml2-config --cflags` parse-xml.c