1 --- libelf-0.8.2/lib/Makefile.in.orig Sat Oct 13 23:35:22 2001
2 +++ libelf-0.8.2/lib/Makefile.in Fri Jul 26 01:16:42 2002
4 exec_prefix = @exec_prefix@
6 includedir = @includedir@
7 -installdirs = $(libdir) $(includedir) $(includedir)/libelf
15 -install: all installdirs install-data \
16 +install: all install-data \
17 install-shared-$(DO_SHLIB) install-compat-$(DO_COMPAT)
19 -installdirs: $(top_srcdir)/mkinstalldirs
20 - $(SHELL) $(top_srcdir)/mkinstalldirs $(installdirs)
23 - $(INSTALL_DATA) libelf.a $(libdir)
24 + $(INSTALL) -d $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)/libelf
25 + $(INSTALL_DATA) libelf.a $(DESTDIR)$(libdir)
26 -cd $(libdir) && $(RANLIB) libelf.a
27 files="$(HDRS) $(AUXHDRS) elf_repl.h"; for file in $$files; do \
28 if test -r $$file; then \
29 - $(INSTALL_DATA) $$file $(includedir)/libelf; \
30 + $(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/libelf; \
32 - $(INSTALL_DATA) $(srcdir)/$$file $(includedir)/libelf; \
33 + $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(includedir)/libelf; \
38 uninstall-shared-$(DO_SHLIB) uninstall-compat-$(DO_COMPAT)
41 - $(RM) $(libdir)/libelf.a
42 - $(RM) -r $(includedir)/libelf
43 + $(RM) $(DESTDIR)$(libdir)/libelf.a
44 + $(RM) -r $(DESTDIR)$(includedir)/libelf
46 install-shared-yes: install-shared
48 install-shared: $(SHLIB)
49 - $(INSTALL_SHLIB) $(SHLIB) $(libdir)
50 + $(INSTALL) -d $(DESTDIR)$(libdir)
51 + $(INSTALL_SHLIB) $(SHLIB) $(DESTDIR)$(libdir)
52 if test "$(SONAME)" = "$(SHLIB)"; then true; else \
53 - cd $(libdir) && $(RM) $(SONAME) && $(LN_S) $(SHLIB) $(SONAME); \
54 + cd $(DESTDIR)$(libdir) && $(RM) $(SONAME) && $(LN_S) $(SHLIB) $(SONAME); \
56 if test "$(SHLINK)" = "$(SHLIB)"; then true; else \
57 - cd $(libdir) && $(RM) $(SHLINK) && $(LN_S) $(SHLIB) $(SHLINK); \
58 + cd $(DESTDIR)$(libdir) && $(RM) $(SHLINK) && $(LN_S) $(SHLIB) $(SHLINK); \
61 uninstall-shared-yes: uninstall-shared
64 - cd $(libdir) && $(RM) $(SHLIB) $(SONAME) $(SHLINK)
65 + cd $(DESTDIR)$(libdir) && $(RM) $(SHLIB) $(SONAME) $(SHLINK)
67 install-compat-yes: install-compat
70 + $(INSTALL) -d $(DESTDIR)$(includedir)
71 files="$(HDRS)"; for file in $$files; do \
72 - if test -f $(includedir)/$$file; then true; else \
73 - echo "#include <libelf/$$file>" > $(includedir)/$$file; \
74 + if test -f $(DESTDIR)$(includedir)/$$file; then true; else \
75 + echo "#include <libelf/$$file>" > $(DESTDIR)$(includedir)/$$file; \
82 files="$(HDRS)"; for file in $$files; do \
83 - if grep "^#include <libelf/$$file>$" $(includedir)/$$file >/dev/null 2>&1; then \
84 - $(RM) $(includedir)/$$file; \
85 + if grep "^#include <libelf/$$file>$" $(DESTDIR)$(includedir)/$$file >/dev/null 2>&1; then \
86 + $(RM) $(DESTDIR)$(includedir)/$$file; \
90 --- libelf-0.8.2/po/Makefile.in~ Fri Jul 26 01:29:01 2002
91 +++ libelf-0.8.2/po/Makefile.in Fri Jul 26 01:27:42 2002
93 catalogs="$(CATALOGS)"; for cat in $$catalogs; do \
94 lang=`echo $$cat | sed 's,$(CATOBJEXT)$$,,'`; \
95 dir=$(localedir)/$$lang/LC_MESSAGES; \
96 - $(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \
97 + $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$$dir; \
98 if test -r $$cat; then \
99 - $(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
100 + $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT); \
102 - $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
103 + $(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT); \
108 catalogs="$(CATALOGS)"; for cat in $$catalogs; do \
109 lang=`echo $$cat | sed 's,$(CATOBJEXT)$$,,'`; \
110 - $(RM) $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
111 + $(RM) $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \