Makefile.in, as requested..

This commit is contained in:
Timur Bakeyev 1999-03-21 22:44:09 +00:00
parent 7785ef44db
commit 196eeed2f8
1 changed files with 62 additions and 7 deletions

View File

@ -1,13 +1,68 @@
srcdir = @srcdir@
VPATH = @srcdir@
dunno what to do here exactly
rootdir = $(srcdir)/..
@MCFG@@MCF@
these files must be installed:
/usr/lib/cooledit/syntax/c.syntax
/usr/lib/cooledit/syntax/changelog.syntax
etc.
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
#
# Distribution variables
#
DISTSYNTAX = Makefile.in $(ALLSYNTAX)
ALLSYNTAX = \
c.syntax \
changelog.syntax \
diff.syntax \
diffc.syntax \
html.syntax \
java.syntax \
latex.syntax \
lsm.syntax \
makefile.syntax \
ml.syntax \
nroff.syntax \
pascal.syntax \
perl.syntax \
python.syntax \
sh.syntax \
smalltalk.syntax
all:
Makefile: Makefile.in ../config.status
(cd ..; CONFIG_FILES=syntax/Makefile CONFIG_HEADERS= ./config.status)
(I use automake only)
install: Makefile
for I in $(ALLSYNTAX); \
do $(INSTALL_DATA) $(srcdir)/$$I $(DESTDIR)$(syntaxdir)/$$I; done
uninstall:
for I in $(ALLSYNTAX); \
do $(RMF) $(DESTDIR)$(syntaxdir)/$$I; done
-rmdir $(DESTDIR)$(syntaxdir)
check:
@echo no tests are supplied.
TAGS:
cross:
clean:
realclean:
distclean:
-$(RMF) $(srcdir)/*~ $(srcdir)/Makefile
distcopy:
$(CP) $(DISTSYNTAX) ../../mc-$(VERSION)/syntax
depend dep:
-paul <psheer@obsidian.co.za>