]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Make should expand $(DESTDIR) on install
authorDirk Hohndel <dirk@hohndel.org>
Tue, 11 Oct 2011 02:43:28 +0000 (19:43 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Tue, 11 Oct 2011 02:43:28 +0000 (19:43 -0700)
This clearly was intentionaly - I just have no idea why you would want to
do it?

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Makefile

index 47835d306ce7d93c446b7f753035bee28bfa8c6e..0c67f40f7838e6f0060606d5a501d80b59584254 100644 (file)
--- 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