home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Divers
/
lyx-0.13.2.tar.gz
/
lyx-0.13.2.tar
/
lyx-0.13.2
/
lib
/
Makefile.in
< prev
Wrap
Makefile
|
1998-04-23
|
4KB
|
146 lines
###/* This file is part of
###* ======================================================
###*
###* LyX, the High Level Word Processor
###*
###* Copyright (C) 1995 Matthias Ettrich
###*
###*======================================================*/
###
###
### Makefile by Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
###
# Common autoconf directories
prefix = @prefix@
exec_prefix = @exec_prefix@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
bindir = @bindir@
datadir = @datadir@
mandir = @mandir@
program_suffix = @program_suffix@
SCRIPT_SUFFIX=
# These are needed for the bindist target
absbuilddir=@absbuilddir@/lib
abssrcdir=@abstopsrcdir@/lib
# The name to use to install LyX
PACKAGE = @PACKAGE@
VERSION = @VERSION@
bindistdir = ../$(PACKAGE)-$(VERSION)-bin
distdir = $(PACKAGE)-$(VERSION)
# For all LyX support files
LYX_DIR = $(datadir)/$(PACKAGE)
###################################################################
# You should not need to change anything below this line.
# for multiple architectures compilation
VPATH = @srcdir@
# The GNU coding standards recommends this. Don't ask me why...
SHELL = /bin/sh
.SUFFIXES:
.SUFFIXES: .C .o
@SET_MAKE@
# Various commands
FIND = find
ETAGS = etags
MKINSTALLDIRS = $(top_srcdir)/config/mkinstalldirs
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
RM = rm -f
MANSUFFIX = 1
POD2MAN = pod2man
SUBDIRS = clipart layouts doc kbd templates bind examples tex images
CLIPART = clipart/*.eps
DEFS = layouts/*.layout layouts/*.inc
DOC = doc/*.lyx doc/LaTeXConfig.lyx.in doc/*.eps
KBD = kbd/*.kmap kbd/*.cdef
TEMPL = templates/*.lyx
BIND = bind/*.bind
EXAMPLES = examples/*.lyx
TEXSUPPORT = tex/*.cls
IMAGES = images/*.xpm images/*.xbm
MISC = lyxrc CREDITS chkconfig.ltx
MISCPROG = configure$(SCRIPT_SUFFIX)
BUILDINSTFILES = lyxrc.defaults doc/LaTeXConfig.lyx \
textclass.lst packages.lst
RELYXFILES = reLyX/*.pm reLyX/*.pl reLyX/README reLyX/BUGS \
reLyX/CHANGES reLyX/Text/*.pm reLyX/reLyX.pod
SRCDISTFILES = $(CLIPART) $(DEFS) $(DOC) $(KBD) $(DOC) $(KBD) $(TEMPL) \
$(BIND) $(EXAMPLES) $(TEXSUPPORT) $(IMAGES) $(MISC)
SRCDISTPROGS = $(MISCPROG)
BINDISTLINKS = $(SUBDIRS) $(MISC) $(MISCPROG) @RELYXDIR@
all:
reLyX/reLyX.man: reLyX/reLyX.pod
$(POD2MAN) ${srcdir}/reLyX/reLyX.pod > reLyX/reLyX.man
installdirs: reLyX/reLyX.man
for dir in $(SUBDIRS); do \
$(MKINSTALLDIRS) $(LYX_DIR)/$$dir ; \
done
install-reLyX:
$(MKINSTALLDIRS) $(LYX_DIR)/reLyX \
$(LYX_DIR)/reLyX/Text
files=`cd ${srcdir} ; echo $(RELYXFILES)` ; \
for i in $${files} ; do \
$(INSTALL_DATA) ${srcdir}/$$i $(LYX_DIR)/$$i ; \
done ;
$(INSTALL_PROGRAM) reLyX/reLyX $(bindir)/reLyX
$(INSTALL_DATA) reLyX/reLyX.man \
$(mandir)/man$(MANSUFFIX)/reLyX.$(MANSUFFIX)
install: @INSTALL_TARGET@
install-unix: installdirs @install_reLyX@
files=`cd ${srcdir} ; echo $(SRCDISTFILES)` ; \
for i in $${files} ; do \
$(INSTALL_DATA) ${srcdir}/$$i $(LYX_DIR)/$$i ; \
done
files=`cd ${srcdir} ; echo $(SRCDISTPROGS)` ; \
for i in $${files} ; do \
$(INSTALL_PROGRAM) ${srcdir}/$$i $(LYX_DIR)/$$i ; \
done
for i in $(BUILDINSTFILES) ; do \
$(INSTALL_DATA) $$i $(LYX_DIR)/$$i ; \
done;
install-os2:
-mkdir $(X11ROOT)\XFree86\lib\X11\lyx
cd .. && xcopy /s lib $(X11ROOT)\XFree86\lib\X11\lyx
attrib +r $(X11ROOT)\XFree86\lib\X11\lyx\doc\*
-rm -f $(LYX_DIR)/configure $(LYX_DIR)/Makefile*
clean:
$(RM) *.log chkconfig.sed chkconfig.vars reLyX/reLyX reLyX/reLyX.man
distclean: clean
$(RM) Makefile $(BUILDINSTFILES)
bindist: reLyX/reLyX.man
(cd $(bindistdir)/share/$(PACKAGE) ; \
for i in $(BINDISTLINKS); do \
ln -s $(abssrcdir)/$$i $$i ; \
done)
(cd $(bindistdir)/bin ; \
if test -x $(absbuilddir)/reLyX/reLyX ; then \
ln -s $(absbuilddir)/reLyX/reLyX reLyX ; \
fi)
(cd $(bindistdir)/man/man$(MANSUFFIX) ; \
ln -s $(absbuilddir)/reLyX/reLyX.man reLyX.$(MANSUFFIX))