Ticket #14428: patch-Makefile.in

File patch-Makefile.in, 690 bytes (added by alakazam@…, 17 years ago)

Patch so that Makefile is aware of DESTDIR (thanks iceblox)

Line 
1--- Makefile.in.orig    2008-02-21 23:05:43.000000000 +0100
2+++ Makefile.in 2008-02-21 23:05:32.000000000 +0100
3@@ -105,13 +105,13 @@
4 install: install-dirs install-binaries install-man
5 
6 install-dirs:
7-       $(SHELL) $(srcdir)/mkinstalldirs $(bindir) $(mandir)/man1
8+       $(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
9 
10 install-binaries: $(PROG)
11-       $(INSTALL) -m 0555 -s $(PROG) $(bindir)/$(PROG)
12+       $(INSTALL) -m 0555 -s $(PROG) $(DESTDIR)$(bindir)/$(PROG)
13 
14 install-man:
15-       $(INSTALL) -m 0444 $(srcdir)/$(PROG).$(mantype) $(mandir)/man1/$(PROG).1
16+       $(INSTALL) -m 0444 $(srcdir)/$(PROG).$(mantype) $(DESTDIR)$(mandir)/man1/$(PROG).1
17 
18 check:
19        @echo nothing to check