blob: 9cffa8a3da62a71187dd39b0767f204acd77a14f [file] [log] [blame]
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +05301isic: Fixup makefile to support destination
2
3Backport:
4http://pkgs.fedoraproject.org/cgit/isic.git/tree/isic-0.07-make.patch
5
6Signed-off-by: Armin Kuster <akuser808@gmail.com>
7
8Index: 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