From 167a62765b99845fffb5f5cf8a15828c24f0ecb2 Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia Ripoll Date: Sun, 4 Jan 2009 19:54:06 +0100 Subject: [PATCH] Missing the installation part in the previous commit. --- src/Makefile.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 84531edaa..9b7ea77e7 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -126,14 +126,16 @@ install-base: # Here we would use the option -s but the install program in sourceforge-solaris # is broken. $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libdir) \ - $(DESTDIR)$(ecldir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir)/ecl \ - $(DESTDIR)$(ecldir)/encodings + $(DESTDIR)$(ecldir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir)/ecl for i in $(TARGETS); do \ $(INSTALL_PROGRAM) $$i $(DESTDIR)$(bindir); \ done - for i in ../contrib/encodings/*; do \ - $(INSTALL_DATA) $$i $(DESTDIR)$(ecldir)/encodings; \ - done + if [ -d encodings ]; then \ + $(mkinstalldirs) $(DESTDIR)$(ecldir)/encodings; \ + for i in ./encodings/*; do \ + $(INSTALL_DATA) $$i $(DESTDIR)$(ecldir)/encodings; \ + done \ + fi sed '/-CUT-/,$$d' ./ecl/config.h > ./ecl/config-install.h $(INSTALL_DATA) ./ecl/*.h $(DESTDIR)$(includedir)/ecl if (echo $(SUBDIRS) | grep gc); then \