Updated Makefile to install into DESTDIR

This commit is contained in:
Ranndom 2015-11-26 18:10:02 +10:00
parent be03b1acf6
commit 33d5ee33d4
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ $(TARGET): discord.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
install: $(TARGET)
install -m=755 $(TARGET) /usr/lib64/bitlbee
install -Dm=755 $(TARGET) "$(DESTDIR)/usr/lib64/bitlbee/$(TARGET)"
clean:
rm -rf $(TARGET) *.o