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

@ -41,5 +41,5 @@ skel.c: mkskel.sh flex.skl
/bin/sh ./mkskel.sh . m4 2.6.4 > skel.c
install: all
install flex $(DESTDIR)$(PREFIX)/bin
ln -sf $(PREFIX)/bin/flex $(DESTDIR)$(PREFIX)/bin/lex
install -D flex $(DESTDIR)$(PREFIX)/bin/flex
ln -sf flex $(DESTDIR)$(PREFIX)/bin/lex