move arch-independent file to share

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@200 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
stasinos
2001-11-26 16:05:19 +00:00
parent 42de8a6f82
commit e0ff7e9fb2
8 changed files with 87 additions and 70 deletions

View File

@@ -7,9 +7,9 @@ ROOTDIR = @prefix@
#
BINDIR = $(ROOTDIR)/bin
#
# where YAP should look for libraries
# where YAP should look for architecture-independent Prolog libraries
#
LIBDIR=$(ROOTDIR)/lib/Yap
SHAREDIR=$(ROOTDIR)/share/Yap
#
#
# You shouldn't need to change what follows.
@@ -85,12 +85,8 @@ CHR_EXAMPLES= $(srcdir)/chr/examples/allentable.pl \
install: $(CHR_TOP) $(CHR_LICENSE) $(CHR_PROGRAMS) $(CHR_EXAMPLES)
-mkdir -p $(DESTDIR)$(LIBDIR)/library
-mkdir -p $(DESTDIR)$(LIBDIR)/library/chr
-mkdir -p $(DESTDIR)$(LIBDIR)/library/chr/examples
for h in $(CHR_TOP); do $(INSTALL_DATA) $$h $(DESTDIR)$(LIBDIR)/library; done
for h in $(CHR_LICENSE); do $(INSTALL_DATA) $$h $(DESTDIR)$(LIBDIR)/library; done
for h in $(CHR_PROGRAMS); do $(INSTALL_DATA) $$h $(DESTDIR)$(LIBDIR)/library/chr; done
for h in $(CHR_EXAMPLES); do $(INSTALL_DATA) $$h $(DESTDIR)$(LIBDIR)/library/chr/examples; done
mkdir -p $(DESTDIR)$(SHAREDIR)/chr/examples
for h in $(CHR_TOP); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR); done
for h in $(CHR_LICENSE); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR); done
for h in $(CHR_PROGRAMS); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR)/chr; done
for h in $(CHR_EXAMPLES); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR)/chr/examples; done