comparison Makefile.in.in @ 4354:232d873b9705

Add support for installing bundled patches.
author Stephen J. Turnbull <stephen@xemacs.org>
date Sun, 23 Dec 2007 20:32:16 -0800
parents 8140d3d3bbd3
children 3af63264d320
comparison
equal deleted inserted replaced
4353:4143b78d0df0 4354:232d873b9705
489 #ifdef HAVE_SHLIB 489 #ifdef HAVE_SHLIB
490 ${moduledir} ${sitemoduledir} \ 490 ${moduledir} ${sitemoduledir} \
491 #endif 491 #endif
492 ${sitelispdir} 492 ${sitelispdir}
493 493
494 ## Install bundled packages, if present.
495
496 package_path = @LATE_PACKAGE_DIRECTORIES@
497 pkgsrcdir = ${srcdir}/etc/bundled-packages
498
499 ## #### Probably we should add a rule for lib-src/make-path here.
500
501 check-available-packages:
502 @if test -r ${pkgsrcdir}/bootstrap.tar.gz; \
503 then echo "To install a set of bootstrap packages, type:"; \
504 echo " make install-bootstrap-packages"; \
505 fi; \
506 if test -r ${pkgsrcdir}/xemacs-sumo.tar.gz; \
507 then echo "To install the full set of non-mule packages, type:"; \
508 echo " make install-nonmule-packages"; \
509 fi; \
510 if test -r ${pkgsrcdir}/xemacs-mule-sumo.tar.gz; \
511 then echo "To install the full set of packages with mule, type:"; \
512 echo " make install-all-packages"; \
513 fi;
514
515 mkpkgdir: FRC.mkdir ${MAKEPATH}
516 @if test -z ${package_path}; \
517 then echo "not configured --with-late-packages; no place to install."; \
518 exit -1; \
519 elif test -e ${package_path}/xemacs-packages \
520 -o -e ${package_path}/mule-packages; \
521 then echo "${package_path} is installed; won't overwrite packages."; \
522 exit -1; \
523 fi
524 ${MAKEPATH} ${package_path};
525
526 install-bootstrap-packages: mkpkgdir
527 cd ${package_path}; tar xvzf ${pkgsrcdir}/bootstrap.tar.gz
528
529 install-nonmule-packages: mkpkgdir
530 cd ${package_path}; tar xvzf ${pkgsrcdir}/xemacs-sumo.tar.gz
531
532 install-all-packages: mkpkgdir
533 cd ${package_path}; tar xvzf ${pkgsrcdir}/xemacs-sumo.tar.gz; \
534 cd ${package_path}; tar xvzf ${pkgsrcdir}/xemacs-mule-sumo.tar.gz
535
494 ## Delete all the installed files that the `install' target would 536 ## Delete all the installed files that the `install' target would
495 ## create (but not the noninstalled files such as `make all' would 537 ## create (but not the noninstalled files such as `make all' would
496 ## create). 538 ## create).
497 539
498 #### Don't delete the lisp and etc directories if they're in the source tree. 540 #### Don't delete the lisp and etc directories if they're in the source tree.