comparison Makefile.in.in @ 4373:713ca3d356b4

Automated merge with file:/Sources/xemacs-21.5-checked-out
author Aidan Kehoe <kehoea@parhasard.net>
date Mon, 31 Dec 2007 21:35:20 +0100
parents 146742e30f05
children 4939bde48d12
comparison
equal deleted inserted replaced
4372:ebb35ddea76a 4373:713ca3d356b4
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 in"; \
504 echo "${package_path}/xemacs-packages, type:"; \
505 echo " make install-bootstrap-packages"; \
506 fi; \
507 if test -r ${pkgsrcdir}/xemacs-sumo.tar.gz; \
508 then echo "To install the full set of non-mule packages in"; \
509 echo "${package_path}/xemacs-packages, type:"; \
510 echo " make install-nonmule-packages"; \
511 fi; \
512 if test -r ${pkgsrcdir}/xemacs-mule-sumo.tar.gz; \
513 then echo "To install the full set of packages with mule in"; \
514 echo "${package_path}/mule-packages, type:"; \
515 echo " make install-all-packages"; \
516 fi
517
518 # The test for a non-trivial path simply checks for the conventional Unix
519 # path separator ":". This is reasonable because this is basically just
520 # a convenience feature, anyway.
521
522 mkpkgdir: FRC.mkdir ${MAKEPATH}
523 @if test -z ${package_path}; \
524 then echo "Not configured --with-late-packages; no place to install."; \
525 exit -1; \
526 elif echo ${package_path} | grep ":"; \
527 then echo "Configured with multiple late package directories; you decide where to install."; \
528 exit -1; \
529 elif test -e ${package_path}/xemacs-packages \
530 -o -e ${package_path}/mule-packages; \
531 then echo "${package_path} is installed; won't overwrite packages."; \
532 exit -1; \
533 fi
534 ${MAKEPATH} ${package_path};
535
536 install-bootstrap-packages: mkpkgdir
537 cd ${package_path}; tar xvzf ${pkgsrcdir}/bootstrap.tar.gz
538
539 install-nonmule-packages: mkpkgdir
540 cd ${package_path}; tar xvzf ${pkgsrcdir}/xemacs-sumo.tar.gz
541
542 install-all-packages: mkpkgdir
543 cd ${package_path}; tar xvzf ${pkgsrcdir}/xemacs-sumo.tar.gz; \
544 cd ${package_path}; tar xvzf ${pkgsrcdir}/xemacs-mule-sumo.tar.gz
545
494 ## Delete all the installed files that the `install' target would 546 ## Delete all the installed files that the `install' target would
495 ## create (but not the noninstalled files such as `make all' would 547 ## create (but not the noninstalled files such as `make all' would
496 ## create). 548 ## create).
497 549
498 #### Don't delete the lisp and etc directories if they're in the source tree. 550 #### Don't delete the lisp and etc directories if they're in the source tree.