Fixed $(DESTDIR) used twice in install

See #22
This commit is contained in:
wiire 2016-01-07 12:50:23 +01:00
parent 1c3a7351cc
commit d5a7111097

View File

@ -16,8 +16,8 @@ debug:
install: install:
rm -f $(BINDIR)/$(TARGET) rm -f $(BINDIR)/$(TARGET)
rm -f $(LOCDIR)/$(TARGET) rm -f $(LOCDIR)/$(TARGET)
install -d $(DESTDIR)$(LOCDIR) install -d $(LOCDIR)
install -m 755 $(TARGET) $(DESTDIR)$(LOCDIR) install -m 755 $(TARGET) $(LOCDIR)
uninstall: uninstall:
rm $(BINDIR)/$(TARGET) rm $(BINDIR)/$(TARGET)