Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
installing functions
- X-seq: zsh-workers 2634
- From: Zefram <zefram@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Z Shell workers mailing list)
- Subject: installing functions
- Date: Tue, 24 Dec 1996 11:36:49 +0000 (GMT)
-----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-----
Messages sorted by:
Reverse Date,
Date,
Thread,
Author