mc/lib/Makefile.in
Norbert Warmuth 10c8184839 1999-09-22 Bjorn Eriksson <mdeans@algonet.se>
* vfs/extfs/uzip.in: Better handling of zip-archives that contain files
which contain spaces.


1999-09-22  Norbert Warmuth  <nwarmuth@privat.circular.de>

* lib/mc.sh.in, mc.csh.in: renamed from mc.sh resp. mc.csh. Adapt
path to the mc binary according to @prefix@.

* lib/Makefile.in (srcdir): mc.sh and mc.csh are now created by
configure. Install mc.sh and mc.csh in $(suppbindir).

* doc/mc.1.in, mc.sgml: Updated the mc function definition for bash
and zsh. Suggest to source mc.sh or mc.csh instead of adding verbatim
copies of the included function definitions.

* mcfn_install.in: Comment out definitions of the mc functions. Source
mc.sh instead of adding an outdated mc function definition.

* configure.in: output mc.sh and mc.csh
1999-09-22 22:04:45 +00:00

86 lines
2.1 KiB
Makefile

srcdir = @srcdir@
VPATH = @srcdir@
rootdir = $(srcdir)/..
@MCFG@@MCF@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
#
# Distribution variables
#
LIBFILES_IN = mc.ext.in mc-gnome.ext.in
LIBFILES_OUT = mc.ext mc-gnome.ext mc.csh mc.sh
LIBFILES_CONST = mc.hint mc.hint.es mc.lib mc.menu
SUPPBIN_IN = mc.csh.in mc.sh.in
SUPPBIN_OUT = mc.csh mc.sh
DESKTOP_FILES = startup.links README.desktop
TIFILES = README.xterm linux.ti xterm.ad xterm.ti ansi.ti vt100.ti xterm.tcap
DISTLIB = \
$(LIBFILES_IN) \
$(LIBFILES_CONST) \
$(SUPPBIN_IN) \
$(TIFILES) \
$(DESKTOP_FILES) \
Makefile.in tdiff \
xnc.hlp ncurses.h \
mc.sh mc.csh \
mcserv.init \
mcserv.pamd \
tkmc.wmconfig \
mc.ext.in.qnx.diff \
mc.global
all: Makefile
Makefile: ../config.status Makefile.in
(cd ..; CONFIG_FILES=lib/Makefile CONFIG_HEADERS= ./config.status)
check:
@echo no tests are supplied.
TAGS:
cross:
clean:
realclean:
distclean:
$(RMF) $(srcdir)/*~ $(srcdir)/Makefile
for I in $(LIBFILES_OUT); do $(RMF) $(srcdir)/$$I; done
for I in $(SUPPBIN_OUT); do $(RMF) $(srcdir)/$$I; done
install:
for I in $(LIBFILES_CONST); \
do $(INSTALL_DATA) $(srcdir)/$$I $(DESTDIR)$(mclibdir)/$$I; done
for I in $(LIBFILES_OUT); \
do $(INSTALL_DATA) $(builddir)/lib/$$I $(DESTDIR)$(mclibdir)/$$I; done
for I in $(SUPPBIN_OUT); \
do $(INSTALL_PROGRAM) -m 755 $(builddir)/lib/$$I $(DESTDIR)$(suppbindir)//$$I; done
for I in $(TIFILES); \
do $(INSTALL_DATA) $(srcdir)/$$I $(DESTDIR)$(tidir)/$$I; done
$(MKINSTALLDIRS) $(DESTDIR)$(confdir)
$(INSTALL_DATA) $(srcdir)/mc.global $(DESTDIR)$(confdir)
$(MKINSTALLDIRS) $(DESTDIR)$(desktopdir)
for I in $(DESKTOP_FILES); \
do $(INSTALL_DATA) $(srcdir)/$$I $(DESTDIR)$(desktopdir)/$$I; done
uninstall:
for I in $(LIBFILES_OUT) $(LIBFILES_CONST); \
do $(RMF) $(DESTDIR)$(mclibdir)/$$I; done
for I in $(TIFILES); \
do $(RMF) $(DESTDIR)$(tidir)/$$I; done
-rmdir $(DESTDIR)$(tidir)
-rmdir $(DESTDIR)$(mclibdir)
distcopy:
for I in $(DISTLIB); do $(CP) $(top_srcdir)/lib/$$I $(top_srcdir)/mc-$(VERSION)/lib; done
depend dep: