* installing functions
@ 1996-12-24 11:36 Zefram
0 siblings, 0 replies; only message in thread
From: Zefram @ 1996-12-24 11:36 UTC (permalink / raw)
To: Z Shell workers mailing list
-----BEGIN PGP SIGNED MESSAGE-----
This patch makes the functions in the zsh distribution be installed in
$(libdir)/zsh/functions.
-zefram
*** Makefile.in 1996/12/22 04:50:00 1.6
--- Makefile.in 1996/12/24 06:43:11
***************
*** 89,95 ****
FORCE:
# install everything
! install: install.bin install.modules install.man install.info
# install/uninstall just the binary
install.bin uninstall.bin:
--- 89,95 ----
FORCE:
# install everything
! install: install.bin install.modules install.functions install.man install.info
# install/uninstall just the binary
install.bin uninstall.bin:
***************
*** 98,103 ****
--- 98,107 ----
# install/uninstall just the modules
install.modules uninstall.modules:
cd Src && $(MAKE) $(MAKEDEFS) $@
+
+ # install/uninstall just the shell functions
+ install.functions uninstall.functions:
+ cd Functions && $(MAKE) $(MAKEDEFS) $@
# install/uninstall just the man pages
install.man uninstall.man:
*** Functions/Makefile.in 1996/12/22 01:13:12 1.1.1.7
--- Functions/Makefile.in 1996/12/24 06:40:18
***************
*** 28,45 ****
SHELL = /bin/sh
! srcdir = @srcdir@
! VPATH = @srcdir@
.SUFFIXES:
# all files in this directory included in the distribution
! DIST = Makefile.in acx cdmatch cx harden mere multicomp proto \
! randline run-help yp yu zed
# ========== DEPENDENCIES FOR BUILDING ==========
all:
# ========== DEPENDENCIES FOR CLEANUP ==========
--- 28,71 ----
SHELL = /bin/sh
! top_srcdir = @top_srcdir@
! srcdir = @srcdir@
! VPATH = @srcdir@
!
! prefix = @prefix@
! exec_prefix = @exec_prefix@
! libdir = @libdir@
! FNDIR = $(libdir)/zsh/functions
!
! INSTALL = @INSTALL@
! INSTALL_DATA = @INSTALL_DATA@
.SUFFIXES:
# all files in this directory included in the distribution
! FUNCTIONS = acx cat cdmatch cdmatch2 checkmail cx harden mere multicomp \
! proto pushd randline run-help yp yu zed
! DIST = Makefile.in $(FUNCTIONS)
# ========== DEPENDENCIES FOR BUILDING ==========
all:
+
+ # ========== DEPENDENCIES FOR INSTALLING ==========
+
+ install: install.functions
+ uninstall: uninstall.functions
+
+ install.functions:
+ $(top_srcdir)/mkinstalldirs $(FNDIR)
+ for fn in $(FUNCTIONS); do \
+ $(INSTALL_DATA) $(srcdir)/$$fn $(FNDIR)/$$fn; \
+ done
+
+ uninstall.functions:
+ for fn in $(FUNCTIONS); do \
+ test ! -f $(FNDIR)/$$fn || rm -f $(FNDIR)/$$fn; \
+ done
# ========== DEPENDENCIES FOR CLEANUP ==========
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBMr98enD/+HJTpU/hAQGdbgP9GiB89AtTsM3/nOvUZD5usrZKEKawOwBO
qU4eS6pHYVj0TFRa5nuckLn3E+Y4dWViPAlBT16H+PRTDcTBWVg548UEBw4c7H/M
KKUAHbFSRhQwzcOhPpVEbq15guSlUmXVXwDoJK3IwjcXTY79E+4LZFct/4yApaNS
QFrkDBFaQ4I=
=8VpT
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-12-24 11:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-12-24 11:36 installing functions Zefram
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).