Another merged file from 3.11 import.
From-SVN: r18768
This commit is contained in:
parent
f8b2ac1ece
commit
b19e662bb2
1 changed files with 289 additions and 178 deletions
|
@ -1,221 +1,332 @@
|
||||||
# Makefile for Texinfo distribution.
|
# Makefile.in generated automatically by automake 1.2 from Makefile.am
|
||||||
# $Id: Makefile.in,v 1.5 1998/03/17 01:38:14 manfred Exp $
|
|
||||||
#
|
|
||||||
# Copyright (C) 1993, 96 Free Software Foundation, Inc.
|
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
# it under the terms of the GNU General Public License as published by
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
# gives unlimited permission to copy, distribute and modify it.
|
||||||
# any later version.
|
|
||||||
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
|
|
||||||
# You should have received a copy of the GNU General Public License
|
SHELL = /bin/sh
|
||||||
# along with this program; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
|
|
||||||
#### Start of system configuration section. ####
|
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
VPATH = $(srcdir):$(common)
|
top_srcdir = @top_srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
prefix = @prefix@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
|
||||||
common = $(srcdir)/libtxi
|
bindir = @bindir@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
datadir = @datadir@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
libdir = @libdir@
|
||||||
|
infodir = @infodir@
|
||||||
|
mandir = @mandir@
|
||||||
|
includedir = @includedir@
|
||||||
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
EXEEXT = @EXEEXT@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
CC = @CC@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
|
top_builddir = .
|
||||||
|
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
transform = @program_transform_name@
|
||||||
|
|
||||||
LN = ln
|
NORMAL_INSTALL = true
|
||||||
RM = rm -f
|
PRE_INSTALL = true
|
||||||
TAR = tar
|
POST_INSTALL = true
|
||||||
MKDIR = mkdir
|
NORMAL_UNINSTALL = true
|
||||||
|
PRE_UNINSTALL = true
|
||||||
|
POST_UNINSTALL = true
|
||||||
|
CATALOGS = @CATALOGS@
|
||||||
|
CATOBJEXT = @CATOBJEXT@
|
||||||
|
CC = @CC@
|
||||||
|
DATADIRNAME = @DATADIRNAME@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
GENCAT = @GENCAT@
|
||||||
|
GMOFILES = @GMOFILES@
|
||||||
|
GMSGFMT = @GMSGFMT@
|
||||||
|
GT_NO = @GT_NO@
|
||||||
|
GT_YES = @GT_YES@
|
||||||
|
INSTOBJEXT = @INSTOBJEXT@
|
||||||
|
INTLDEPS = @INTLDEPS@
|
||||||
|
INTLLIBS = @INTLLIBS@
|
||||||
|
INTLOBJS = @INTLOBJS@
|
||||||
|
MAINT = @MAINT@
|
||||||
|
MAKEINFO = @MAKEINFO@
|
||||||
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||||
|
MSGFMT = @MSGFMT@
|
||||||
|
PACKAGE = @PACKAGE@
|
||||||
|
POFILES = @POFILES@
|
||||||
|
POSUB = @POSUB@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
TERMLIBS = @TERMLIBS@
|
||||||
|
TEXCONFIG = @TEXCONFIG@
|
||||||
|
TEXMF = @TEXMF@
|
||||||
|
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||||
|
USE_NLS = @USE_NLS@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
l = @l@
|
||||||
|
|
||||||
DEFS = @DEFS@
|
AUTOMAKE_OPTIONS = 1.1p
|
||||||
LIBS = @LIBS@
|
|
||||||
LOADLIBES = $(LIBS)
|
|
||||||
|
|
||||||
ALLOCA = @ALLOCA@
|
# Additional files to distribute.
|
||||||
|
EXTRA_DIST = INTRODUCTION dir-example README-alpha
|
||||||
|
|
||||||
SHELL = /bin/sh
|
# All subdirectories.
|
||||||
|
# Do intl/ and lib/ first since the C programs depend on them.
|
||||||
|
# Do doc/ last so makeinfo will be built when we get there.
|
||||||
|
# Others are alphabetical.
|
||||||
|
SUBDIRS = intl lib emacs info makeinfo po util doc
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
|
CONFIG_HEADER = config.h
|
||||||
|
CONFIG_CLEAN_FILES =
|
||||||
|
DIST_COMMON = README ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL \
|
||||||
|
Makefile.am Makefile.in NEWS THANKS TODO acconfig.h acinclude.m4 \
|
||||||
|
aclocal.m4 config.guess config.h.in config.sub configure configure.in \
|
||||||
|
install-sh missing mkinstalldirs stamp-h.in texinfo.tex
|
||||||
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
LDFLAGS = @LDFLAGS@
|
|
||||||
|
|
||||||
prefix = @prefix@
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
exec_prefix = @exec_prefix@
|
|
||||||
bindir = @bindir@
|
|
||||||
# Prefix for each installed program, normally empty or `g'.
|
|
||||||
binprefix =
|
|
||||||
# Prefix for each installed man page, normally empty or `g'.
|
|
||||||
manprefix =
|
|
||||||
mandir = @mandir@/man$(manext)
|
|
||||||
manext = 1
|
|
||||||
infodir = @infodir@
|
|
||||||
|
|
||||||
# For info program.
|
TAR = tar
|
||||||
DEFAULT_INFOPATH = $(infodir):.
|
GZIP = --best
|
||||||
|
default: all
|
||||||
|
|
||||||
#### End of system configuration section. ####
|
.SUFFIXES:
|
||||||
|
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
|
||||||
|
|
||||||
VERSION = 3.9
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
DISTNAME = texinfo-$(VERSION)
|
cd $(top_builddir) \
|
||||||
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
|
||||||
# Subdirectories that have makefiles
|
$(ACLOCAL_M4): @MAINT@ configure.in acinclude.m4
|
||||||
SUBDIRS = libtxi makeinfo util emacs
|
cd $(srcdir) && $(ACLOCAL)
|
||||||
|
|
||||||
# All subdirectories that go into a distribution
|
config.status: $(srcdir)/configure
|
||||||
ALL_SUBDIRS = $(SUBDIRS) makeinfo/macros
|
|
||||||
|
|
||||||
MDEFINES = bindir='$(bindir)' mandir='$(mandir)' manext='$(manext)' \
|
|
||||||
prefix='$(prefix)' binprefix='$(binprefix)' \
|
|
||||||
manprefix='$(manprefix)' infodir='$(infodir)' CFLAGS='$(CFLAGS)' \
|
|
||||||
CC='$(CC)' ALLOCA='$(ALLOCA)' LDFLAGS='$(LDFLAGS)' \
|
|
||||||
DEFAULT_INFOPATH='$(DEFAULT_INFOPATH)' \
|
|
||||||
INSTALL='$(INSTALL)' INSTALL_DATA='$(INSTALL_DATA)' \
|
|
||||||
INSTALL_PROGRAM='$(INSTALL_PROGRAM)'
|
|
||||||
|
|
||||||
all: texinfo
|
|
||||||
|
|
||||||
check:
|
|
||||||
installcheck:
|
|
||||||
dvi: texinfo.dvi license.dvi lgpl.dvi
|
|
||||||
@for dir in $(SUBDIRS); do cd $$dir; $(MAKE) $(FLAGS_TO_PASS) $@; cd ..; done
|
|
||||||
|
|
||||||
.PHONY: install installdirs installcheck install-info uninstall
|
|
||||||
|
|
||||||
install installdirs installcheck install-info uninstall:
|
|
||||||
|
|
||||||
Makefile: Makefile.in config.status
|
|
||||||
$(SHELL) ./config.status
|
|
||||||
|
|
||||||
config.status: configure
|
|
||||||
$(SHELL) ./config.status --recheck
|
$(SHELL) ./config.status --recheck
|
||||||
|
$(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||||
|
cd $(srcdir) && $(AUTOCONF)
|
||||||
|
|
||||||
#configure: configure.in
|
config.h: stamp-h ; @:
|
||||||
# cd $(srcdir) && autoconf
|
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) \
|
||||||
|
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
|
||||||
|
$(SHELL) ./config.status
|
||||||
|
@echo timestamp > stamp-h
|
||||||
|
$(srcdir)/config.h.in: @MAINT@$(srcdir)/stamp-h.in
|
||||||
|
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
|
||||||
|
cd $(top_srcdir) && $(AUTOHEADER)
|
||||||
|
@echo timestamp > $(srcdir)/stamp-h.in
|
||||||
|
|
||||||
TAGS:
|
mostlyclean-hdr:
|
||||||
for dir in $(SUBDIRS); do \
|
|
||||||
echo making $@ in $$dir; \
|
clean-hdr:
|
||||||
(cd $$dir && $(MAKE) $(MDEFINES) $@ || exit 1); \
|
|
||||||
|
distclean-hdr:
|
||||||
|
rm -f config.h
|
||||||
|
|
||||||
|
maintainer-clean-hdr:
|
||||||
|
|
||||||
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
|
# into them and run `make' without going through this Makefile.
|
||||||
|
# To change the values of `make' variables: instead of editing Makefiles,
|
||||||
|
# (1) if the variable is set in `config.status', edit `config.status'
|
||||||
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||||
|
# (2) otherwise, pass the desired values on the `make' command line.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
all-recursive install-data-recursive install-exec-recursive \
|
||||||
|
installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
|
||||||
|
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
||||||
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||||
|
for subdir in $(SUBDIRS); do \
|
||||||
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
|
echo "Making $$target in $$subdir"; \
|
||||||
|
(cd $$subdir && $(MAKE) $$target) \
|
||||||
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||||
|
done && test -z "$$fail"
|
||||||
|
|
||||||
|
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||||
|
maintainer-clean-recursive:
|
||||||
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||||
|
rev=''; for subdir in $(SUBDIRS); do rev="$$rev $$subdir"; done; \
|
||||||
|
for subdir in $$rev; do \
|
||||||
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
|
echo "Making $$target in $$subdir"; \
|
||||||
|
(cd $$subdir && $(MAKE) $$target) \
|
||||||
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||||
|
done && test -z "$$fail"
|
||||||
|
tags-recursive:
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
(cd $$subdir && $(MAKE) tags); \
|
||||||
done
|
done
|
||||||
|
|
||||||
stmp-sub-all:
|
tags: TAGS
|
||||||
-rm -f stmp-sub-all
|
|
||||||
for dir in $(SUBDIRS); do \
|
ID: $(HEADERS) $(SOURCES)
|
||||||
echo making sub-all in $$dir; \
|
here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
|
||||||
(cd $$dir && $(MAKE) $(MDEFINES) sub-all || exit 1); \
|
|
||||||
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES)
|
||||||
|
tags=; \
|
||||||
|
here=`pwd`; \
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||||
|
done; \
|
||||||
|
test -z "$(ETAGS_ARGS)config.h.in$(SOURCES)$(HEADERS)$$tags" \
|
||||||
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $(SOURCES) $(HEADERS) -o $$here/TAGS)
|
||||||
|
|
||||||
|
mostlyclean-tags:
|
||||||
|
|
||||||
|
clean-tags:
|
||||||
|
|
||||||
|
distclean-tags:
|
||||||
|
rm -f TAGS ID
|
||||||
|
|
||||||
|
maintainer-clean-tags:
|
||||||
|
|
||||||
|
distdir = $(PACKAGE)-$(VERSION)
|
||||||
|
top_distdir = $(distdir)
|
||||||
|
|
||||||
|
# This target untars the dist file and tries a VPATH configuration. Then
|
||||||
|
# it guarantees that the distribution is self-contained by making another
|
||||||
|
# tarfile.
|
||||||
|
distcheck: dist
|
||||||
|
rm -rf $(distdir)
|
||||||
|
GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
|
||||||
|
mkdir $(distdir)/=build
|
||||||
|
mkdir $(distdir)/=inst
|
||||||
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
||||||
|
cd $(distdir)/=build \
|
||||||
|
&& ../configure --with-included-gettext --srcdir=.. --prefix=$$dc_install_base \
|
||||||
|
&& $(MAKE) \
|
||||||
|
&& $(MAKE) dvi \
|
||||||
|
&& $(MAKE) check \
|
||||||
|
&& $(MAKE) install \
|
||||||
|
&& $(MAKE) installcheck \
|
||||||
|
&& $(MAKE) dist
|
||||||
|
rm -rf $(distdir)
|
||||||
|
@echo "========================"; \
|
||||||
|
echo "$(distdir).tar.gz is ready for distribution"; \
|
||||||
|
echo "========================"
|
||||||
|
dist: distdir
|
||||||
|
-chmod -R a+r $(distdir)
|
||||||
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||||||
|
rm -rf $(distdir)
|
||||||
|
dist-all: distdir
|
||||||
|
-chmod -R a+r $(distdir)
|
||||||
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||||||
|
rm -rf $(distdir)
|
||||||
|
distdir: $(DISTFILES)
|
||||||
|
rm -rf $(distdir)
|
||||||
|
mkdir $(distdir)
|
||||||
|
-chmod 777 $(distdir)
|
||||||
|
@for file in $(DISTFILES); do \
|
||||||
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
test -f $(distdir)/$$file \
|
||||||
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||||
done
|
done
|
||||||
touch stmp-sub-all
|
for subdir in $(SUBDIRS); do \
|
||||||
|
test -d $(distdir)/$$subdir \
|
||||||
clean mostlyclean:
|
|| mkdir $(distdir)/$$subdir \
|
||||||
for dir in $(SUBDIRS) info; do \
|
|| exit 1; \
|
||||||
echo making $@ in $$dir; \
|
chmod 777 $(distdir)/$$subdir; \
|
||||||
(cd $$dir && $(MAKE) $(MDEFINES) $@ || exit 1); \
|
(cd $$subdir && $(MAKE) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
|
||||||
|
|| exit 1; \
|
||||||
done
|
done
|
||||||
-rm -f stmp*
|
info: info-recursive
|
||||||
|
dvi: dvi-recursive
|
||||||
|
check: all-am
|
||||||
|
$(MAKE) check-recursive
|
||||||
|
installcheck: installcheck-recursive
|
||||||
|
install-info: install-info-recursive
|
||||||
|
all-recursive-am: config.h
|
||||||
|
$(MAKE) all-recursive
|
||||||
|
|
||||||
distclean: clean texclean
|
all-am: Makefile config.h
|
||||||
for dir in $(SUBDIRS) info; do \
|
|
||||||
echo making $@ in $$dir; \
|
|
||||||
(cd $$dir && $(MAKE) $(MDEFINES) $@ || exit 1); \
|
|
||||||
done
|
|
||||||
$(RM) Makefile *.status *.cache *.log texinfo texinfo-? texinfo-??
|
|
||||||
|
|
||||||
texclean:
|
install-exec: install-exec-recursive
|
||||||
$(RM) *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs
|
@$(NORMAL_INSTALL)
|
||||||
$(RM) *.toc *.tp *.tps *.vr *.vrs
|
|
||||||
|
|
||||||
realclean maintainer-clean: distclean
|
install-data: install-data-recursive
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
|
||||||
# Let's hope we weren't cross-compiling.
|
install: install-recursive
|
||||||
# If we depend on sub-all, this always gets remade. Annoying.
|
@:
|
||||||
info texinfo: texinfo.texi stmp-sub-all
|
|
||||||
./makeinfo/makeinfo$(EXEEXT) -I$(srcdir) texinfo.texi
|
|
||||||
.PHONY: info
|
|
||||||
|
|
||||||
texinfo.dvi:
|
uninstall: uninstall-recursive
|
||||||
PATH="$(srcdir)/util:$${PATH}" TEXINPUTS="$(srcdir):$(common):$${TEXINPUTS}" texi2dvi $(srcdir)/texinfo.texi
|
|
||||||
.PHONY: dvi
|
|
||||||
|
|
||||||
license.info: $(srcdir)/license.texi
|
all: all-recursive-am all-am
|
||||||
$(MAKEINFO) -I$(srcdir) -o license.info $(srcdir)/license.texi
|
|
||||||
|
|
||||||
license.dvi: $(srcdir)/license.texi
|
install-strip:
|
||||||
PATH="$(srcdir)/util:$${PATH}" TEXINPUTS="$(srcdir):$(common):$${TEXINPUTS}" texi2dvi $(srcdir)/license.texi
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||||
|
installdirs: installdirs-recursive
|
||||||
|
|
||||||
lgpl.info: $(srcdir)/liblic.texi
|
|
||||||
$(MAKEINFO) -I$(srcdir) -o lgpl.info $(srcdir)/liblic.texi
|
|
||||||
|
|
||||||
lgpl.dvi: $(srcdir)/liblic.texi
|
mostlyclean-generic:
|
||||||
PATH="$(srcdir)/util:$${PATH}" TEXINPUTS="$(srcdir):$(common):$${TEXINPUTS}" texi2dvi $(srcdir)/liblic.texi
|
test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
||||||
mv liblic.dvi lgpl.dvi
|
|
||||||
|
|
||||||
dist: DISTFILES
|
clean-generic:
|
||||||
$(RM) -r $(DISTNAME)
|
test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
$(MKDIR) $(DISTNAME)
|
|
||||||
for d in `find . -type d ! -name RCS -print`; do \
|
|
||||||
d=`echo $$d | grep -v '[@=]'`; \
|
|
||||||
test -z "$$d" || test "$$d" = . || test "$$d" = "./$(DISTNAME)" \
|
|
||||||
|| mkdir $(DISTNAME)/$$d; done
|
|
||||||
for f in `cat DISTFILES`; do \
|
|
||||||
$(LN) $(srcdir)/$$f $(DISTNAME)/$$f || \
|
|
||||||
{ echo copying $$f; cp -p $(srcdir)/$$f $(DISTNAME)/$$f ; } \
|
|
||||||
done
|
|
||||||
(cd $(DISTNAME); $(MAKE) $(MFLAGS) distclean)
|
|
||||||
$(TAR) chvf - $(DISTNAME) | gzip >$(DISTNAME).tar.gz
|
|
||||||
$(RM) -r $(DISTNAME)
|
|
||||||
|
|
||||||
# Gets rid of most of the unwanted files. Verify manually (if necessary)
|
distclean-generic:
|
||||||
# that this produces a list of all the files desired in the distribution.
|
rm -f Makefile $(DISTCLEANFILES)
|
||||||
DISTFILES: force
|
rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
(cd $(srcdir); find . ! -type d -print) \
|
test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
| sed '/\/RCS\//d; \
|
|
||||||
/\/EMACS-BACKUPS\//d; \
|
|
||||||
/\.tar.*/d; \
|
|
||||||
/~$$/d; /\.o$$/d; \
|
|
||||||
/\.gdbinit$$/d; \
|
|
||||||
/\.orig$$/d; \
|
|
||||||
/\#$$/d; \
|
|
||||||
/\/info\/info$$/d; \
|
|
||||||
/\.info$$/d; \
|
|
||||||
/\.elc/d; \
|
|
||||||
/\/makeinfo\/makeinfo$$/d; \
|
|
||||||
/\/$(DISTNAME)\/.*$$/d; \
|
|
||||||
/\/util\/texindex$$/d; \
|
|
||||||
/texinfo$$/d; \
|
|
||||||
/texinfo-[0-9]+$$/d; \
|
|
||||||
/\/.*\.BAK$$/d; \
|
|
||||||
/\/.*\.a$$/d; \
|
|
||||||
/\/core$$/d; \
|
|
||||||
/\/*\.core$$/d; \
|
|
||||||
/\/core\..*$$/d; \
|
|
||||||
/\/a.out$$/d; \
|
|
||||||
/\/[=@]/d; \
|
|
||||||
/\/conftest\.c$$/d; \
|
|
||||||
/\/DISTFILES$$/d; \
|
|
||||||
/\/foo$$/d; \
|
|
||||||
/\/bar$$/d; \
|
|
||||||
/\.toc$$/d; \
|
|
||||||
/\.bak$$/d; \
|
|
||||||
/\.aux$$/d; /\.log$$/d; \
|
|
||||||
/\.cps$$/d; /\.cp$$/d; \
|
|
||||||
/\.fns$$/d; /\.fn$$/d; \
|
|
||||||
/\.tps$$/d; /\.tp$$/d; \
|
|
||||||
/\.vrs$$/d; /\.vr$$/d; \
|
|
||||||
/\.pgs$$/d; /\.pg$$/d; \
|
|
||||||
/\.kys$$/d; /\.ky$$/d; \
|
|
||||||
/\.ops$$/d; /\.op$$/d; \
|
|
||||||
s/^.\///; /^\.$$/d;' \
|
|
||||||
| sort | uniq > DISTFILES
|
|
||||||
|
|
||||||
force:
|
maintainer-clean-generic:
|
||||||
|
test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||||
|
test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||||
|
mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
|
||||||
|
|
||||||
# Prevent GNU make v3 from overflowing arg limit on SysV.
|
clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
|
||||||
|
|
||||||
|
distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
|
||||||
|
|
||||||
|
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \
|
||||||
|
maintainer-clean-generic distclean-am
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-recursive mostlyclean-am
|
||||||
|
|
||||||
|
clean: clean-recursive clean-am
|
||||||
|
|
||||||
|
distclean: distclean-recursive distclean-am
|
||||||
|
rm -f config.status
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-recursive maintainer-clean-am
|
||||||
|
@echo "This command is intended for maintainers to use;"
|
||||||
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
rm -f config.status
|
||||||
|
|
||||||
|
.PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \
|
||||||
|
maintainer-clean-hdr install-data-recursive uninstall-data-recursive \
|
||||||
|
install-exec-recursive uninstall-exec-recursive installdirs-recursive \
|
||||||
|
uninstalldirs-recursive all-recursive check-recursive \
|
||||||
|
installcheck-recursive info-recursive dvi-recursive \
|
||||||
|
mostlyclean-recursive distclean-recursive clean-recursive \
|
||||||
|
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
||||||
|
distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
|
||||||
|
installcheck install-info all-recursive-am all-am install-exec \
|
||||||
|
install-data install uninstall all installdirs mostlyclean-generic \
|
||||||
|
distclean-generic clean-generic maintainer-clean-generic clean \
|
||||||
|
mostlyclean distclean maintainer-clean
|
||||||
|
|
||||||
|
|
||||||
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
Loading…
Add table
Reference in a new issue