Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | isic: Fixup makefile to support destination |
| 2 | |
| 3 | Backport: |
| 4 | http://pkgs.fedoraproject.org/cgit/isic.git/tree/isic-0.07-make.patch |
| 5 | |
| 6 | Signed-off-by: Armin Kuster <akuser808@gmail.com> |
| 7 | |
| 8 | Index: isic-0.07/Makefile.in |
| 9 | =================================================================== |
| 10 | --- isic-0.07.orig/Makefile.in |
| 11 | +++ isic-0.07/Makefile.in |
| 12 | @@ -63,7 +63,7 @@ package: distclean |
| 13 | tar -czvf isic-$(VERSION).tgz ./isic-$(VERSION)/* ) |
| 14 | |
| 15 | install: $(BINS) $(MAN) |
| 16 | - $(INSTALL) -m 0755 -d $(PREFIX)/bin |
| 17 | - $(INSTALL) -m 0755 -c $(BINS) $(PREFIX)/bin |
| 18 | - $(INSTALL) -m 0755 -d $(PREFIX)/man/man1 |
| 19 | - ${INSTALL} -m 0755 -c $(MAN) $(PREFIX)/man/man1 |
| 20 | + $(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/bin |
| 21 | + $(INSTALL) -m 0755 -c $(BINS) $(DESTDIR)$(PREFIX)/bin |
| 22 | + $(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/share/man/man1 |
| 23 | + ${INSTALL} -m 0755 -c $(MAN) $(DESTDIR)$(PREFIX)/share/man/man1 |