Fix various things to use ${DESTDIR}

This commit is contained in:
fosslinux 2022-01-14 21:53:30 +11:00
parent 016b9511d2
commit b8ef19150c
28 changed files with 46 additions and 36 deletions

View file

@ -29,5 +29,5 @@ diff: $(DIFF_OBJECTS)
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
install: all
install cmp $(DESTDIR)$(PREFIX)/bin
install -D cmp $(DESTDIR)$(PREFIX)/bin/cmp
install diff $(DESTDIR)$(PREFIX)/bin