--- Yap-5.0.1.orig/Makefile.in 2005-10-18 06:54:17.000000000 +1300 +++ Yap-5.0.1/Makefile.in 2006-01-29 23:13:30.000000000 +1300 @@ -526,6 +526,10 @@ (cd CHR ; make install) (cd CLPBN ; make install) +install-doc: + (cd CLPQR ; make install-doc) + (cd CHR ; make install-doc) + ########## TAGS: $(C_SOURCES) $(PL_SOURCES) $(HEADERS) --- Yap-5.0.1.orig/CHR/Makefile.in 2005-08-22 23:09:14.000000000 +1200 +++ Yap-5.0.1/CHR/Makefile.in 2006-01-29 22:51:39.000000000 +1300 @@ -84,9 +84,11 @@ -install: $(CHR_TOP) $(CHR_LICENSE) $(CHR_PROGRAMS) $(CHR_EXAMPLES) - mkdir -p $(DESTDIR)$(SHAREDIR)/chr/examples +install: $(CHR_TOP) $(CHR_PROGRAMS) + mkdir -p $(DESTDIR)$(SHAREDIR)/chr 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 + +install-doc: $(CHR_EXAMPLES) + mkdir -p $(DESTDIR)$(SHAREDIR)/chr/examples for h in $(CHR_EXAMPLES); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR)/chr/examples; done --- Yap-5.0.1.orig/CLPBN/Makefile.in 2005-08-22 23:09:14.000000000 +1200 +++ Yap-5.0.1/CLPBN/Makefile.in 2006-01-29 22:35:10.000000000 +1300 @@ -44,7 +44,6 @@ install: $(CLBN_TOP) $(CLBN_PROGRAMS) $(CLPBN_PROGRAMS) mkdir -p $(DESTDIR)$(SHAREDIR)/clpbn - mkdir -p $(DESTDIR)$(SHAREDIR)/clpbn/examples for h in $(CLPBN_TOP); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR); done for h in $(CLPBN_PROGRAMS); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR)/clpbn; done # for h in $(CLPBN_EXAMPLES); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR)/clpbn/examples; done --- Yap-5.0.1.orig/CLPQR/Makefile.in 2005-08-22 23:09:14.000000000 +1200 +++ Yap-5.0.1/CLPQR/Makefile.in 2006-01-29 22:43:04.000000000 +1300 @@ -131,23 +131,22 @@ $(srcdir)/clpqr/examples/SESSION/134 \ $(srcdir)/clpqr/examples/SESSION/135 -install: $(CLPR_TOP) $(CLPQ_TOP) $(CLPQR_LICENSE) $(CLPQR_PROGRAMS) $(CLPQR_LOCAL)\ - $(CLPQR_EXAMPLES) $(CLPQR_EXAMPLES_MONASH) $(CLPQR_EXAMPLES_SESSION) +install: $(CLPR_TOP) $(CLPQ_TOP) $(CLPQR_PROGRAMS) $(CLPQR_LOCAL) mkdir -p $(DESTDIR)$(SHAREDIR)/clpq mkdir -p $(DESTDIR)$(SHAREDIR)/clpqr mkdir -p $(DESTDIR)$(SHAREDIR)/clpr - mkdir -p $(DESTDIR)$(SHAREDIR)/clpqr/examples - mkdir -p $(DESTDIR)$(SHAREDIR)/clpqr/examples/SESSION - mkdir -p $(DESTDIR)$(SHAREDIR)/clpqr/examples/monash for h in $(CLPQ_TOP); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR); done for h in $(CLPR_TOP); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR); done - for h in $(CLPQR_LICENSE); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR); done for h in $(CLPQR_PROGRAMS); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR)/clpqr; done for h in $(CLPQ_PROGRAMS); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR)/clpq; done for h in $(CLPR_PROGRAMS); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR)/clpr; done for h in $(CLPQR_LOCAL); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR)/clpqr; done + +install-doc: $(CLPQR_EXAMPLES) $(CLPQR_EXAMPLES_MONASH) $(CLPQR_EXAMPLES_SESSION) + mkdir -p $(DESTDIR)$(SHAREDIR)/clpqr/examples + mkdir -p $(DESTDIR)$(SHAREDIR)/clpqr/examples/SESSION + mkdir -p $(DESTDIR)$(SHAREDIR)/clpqr/examples/monash for h in $(CLPQR_EXAMPLES); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR)/clpqr/examples; done for h in $(CLPQR_EXAMPLES_MONASH); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR)/clpqr/examples/monash; done for h in $(CLPQR_EXAMPLES_SESSION); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR)/clpqr/examples/SESSION; done -