Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Pending |
| 2 | |
| 3 | # |
| 4 | # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher |
| 5 | # |
| 6 | |
| 7 | --- gdbm-1.8.3/Makefile.in~makefile |
| 8 | +++ gdbm-1.8.3/Makefile.in |
| 9 | @@ -22,6 +22,7 @@ |
| 10 | TEXI2DVI = texi2dvi |
| 11 | |
| 12 | DEFS = |
| 13 | +DESTDIR = |
| 14 | |
| 15 | # Where the system [n]dbm routines are... |
| 16 | LIBS = @LIBS@ -lc |
| 17 | @@ -127,26 +128,26 @@ |
| 18 | progs: $(PROGS) |
| 19 | |
| 20 | install: libgdbm.la gdbm.h gdbm.info |
| 21 | - $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \ |
| 22 | - $(INSTALL_ROOT)$(includedir) $(INSTALL_ROOT)$(man3dir) \ |
| 23 | - $(INSTALL_ROOT)$(infodir) |
| 24 | - $(LIBTOOL) $(INSTALL) -c libgdbm.la $(INSTALL_ROOT)$(libdir)/libgdbm.la |
| 25 | - $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) gdbm.h \ |
| 26 | - $(INSTALL_ROOT)$(includedir)/gdbm.h |
| 27 | - $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.3 \ |
| 28 | - $(INSTALL_ROOT)$(man3dir)/gdbm.3 |
| 29 | - $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.info \ |
| 30 | - $(INSTALL_ROOT)$(infodir)/gdbm.info |
| 31 | + $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \ |
| 32 | + $(DESTDIR)$(includedir) $(DESTDIR)$(man3dir) \ |
| 33 | + $(DESTDIR)$(infodir) |
| 34 | + $(LIBTOOL) $(INSTALL) -c libgdbm.la $(DESTDIR)$(libdir)/libgdbm.la |
| 35 | + $(INSTALL_DATA) gdbm.h \ |
| 36 | + $(DESTDIR)$(includedir)/gdbm.h |
| 37 | + $(INSTALL_DATA) $(srcdir)/gdbm.3 \ |
| 38 | + $(DESTDIR)$(man3dir)/gdbm.3 |
| 39 | + $(INSTALL_DATA) $(srcdir)/gdbm.info \ |
| 40 | + $(DESTDIR)$(infodir)/gdbm.info |
| 41 | |
| 42 | install-compat: |
| 43 | - $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \ |
| 44 | - $(INSTALL_ROOT)$(includedir) |
| 45 | + $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \ |
| 46 | + $(DESTDIR)$(includedir) |
| 47 | $(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \ |
| 48 | - $(INSTALL_ROOT)$(libdir)/libgdbm_compat.la |
| 49 | - $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/dbm.h \ |
| 50 | - $(INSTALL_ROOT)$(includedir)/dbm.h |
| 51 | - $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/ndbm.h \ |
| 52 | - $(INSTALL_ROOT)$(includedir)/ndbm.h |
| 53 | + $(DESTDIR)$(libdir)/libgdbm_compat.la |
| 54 | + $(INSTALL_DATA) $(srcdir)/dbm.h \ |
| 55 | + $(DESTDIR)$(includedir)/dbm.h |
| 56 | + $(INSTALL_DATA) $(srcdir)/ndbm.h \ |
| 57 | + $(DESTDIR)$(includedir)/ndbm.h |
| 58 | |
| 59 | #libgdbm.a: $(OBJS) gdbm.h |
| 60 | # rm -f libgdbm.a |