summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-12-15 22:21:06 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-12-15 22:21:06 +0000
commitdf9f87b0199e92719369bb05d1249be890a9ada0 (patch)
tree89f5cf3e78c090ca0db97658c77e1bb2c54ab9ea /gnu/usr.bin
parentf4e11623bbd2183bfcdce4dec50d5009872cacf6 (diff)
Conflict, conflict, conflict. Who wants a conflict?
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/texinfo/Makefile.in57
-rw-r--r--gnu/usr.bin/texinfo/info/Makefile.in24
2 files changed, 45 insertions, 36 deletions
diff --git a/gnu/usr.bin/texinfo/Makefile.in b/gnu/usr.bin/texinfo/Makefile.in
index 229ea4d9842..182ba184be1 100644
--- a/gnu/usr.bin/texinfo/Makefile.in
+++ b/gnu/usr.bin/texinfo/Makefile.in
@@ -1,5 +1,7 @@
-# Makefile for Texinfo distribution. -*- Indented-Text -*-
-# Copyright (C) 1993 Free Software Foundation, Inc.
+# Makefile for Texinfo distribution.
+# $Id: Makefile.in,v 1.4 1996/12/15 22:21:02 downsj Exp $
+#
+# Copyright (C) 1993, 96 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -49,11 +51,10 @@ exec_prefix = @exec_prefix@
bindir = $(exec_prefix)/bin
# Prefix for each installed program, normally empty or `g'.
binprefix =
-libdir = $(prefix)/lib
# Prefix for each installed man page, normally empty or `g'.
manprefix =
-mandir = $(prefix)/man/man1
manext = 1
+mandir = $(prefix)/man/man$(manext)
infodir = $(prefix)/info
# For info program.
@@ -61,7 +62,7 @@ DEFAULT_INFOPATH = $(infodir):.
#### End of system configuration section. ####
-VERSION = 3.7
+VERSION = 3.9
DISTNAME = texinfo-$(VERSION)
# Subdirectories that have makefiles
@@ -79,18 +80,20 @@ MDEFINES = bindir='$(bindir)' mandir='$(mandir)' manext='$(manext)' \
all: sub-all texinfo
install: all installdirs
+ test -f $(infodir)/dir || $(INSTALL_DATA) $(srcdir)/dir $(infodir)
for dir in $(SUBDIRS); do \
echo making $@ in $$dir; \
(cd $$dir && $(MAKE) $(MDEFINES) $@ || exit 1); \
done
d=$(srcdir); test -f ./texinfo && d=.; \
- (cd $$d; \
- for f in texinfo texinfo-* ; do \
- $(INSTALL_DATA) $$f $(infodir)/$$f; \
- done)
+ (cd $$d && for f in texinfo texinfo-* ; do \
+ $(INSTALL_DATA) $$f $(infodir)/$$f; done)
+ $(POST_INSTALL)
+ ./util/install-info --info-dir=$(infodir) $(infodir)/texinfo
+ @echo Please install $(srcdir)/texinfo.tex manually.
installdirs:
- -sh $(srcdir)/util/mkinstalldirs $(bindir) $(datadir) $(libdir) $(infodir) $(mandir)
+ -$(SHELL) $(srcdir)/util/mkinstalldirs $(bindir) $(datadir) $(infodir) $(mandir)
uninstall:
for dir in $(SUBDIRS); do \
@@ -100,19 +103,20 @@ uninstall:
$(RM) $(infodir)/texinfo $(infodir)/texinfo-*
Makefile: Makefile.in config.status
- sh ./config.status
+ $(SHELL) ./config.status
config.status: configure
- sh ./config.status --recheck
+ $(SHELL) ./config.status --recheck
configure: configure.in
- cd $(srcdir); autoconf
+ cd $(srcdir) && autoconf
sub-all TAGS:
for dir in $(SUBDIRS); do \
echo making $@ in $$dir; \
(cd $$dir && $(MAKE) $(MDEFINES) $@ || exit 1); \
done
+.PHONY: sub-all
clean mostlyclean:
for dir in $(SUBDIRS); do \
@@ -133,41 +137,40 @@ texclean:
realclean: distclean
-texinfo: makeinfo/makeinfo texinfo.texi
+info texinfo: makeinfo/makeinfo texinfo.texi
./makeinfo/makeinfo -I$(srcdir) texinfo.texi
+.PHONY: info
makeinfo/makeinfo: sub-all
-texinfo.dvi:
+dvi texinfo.dvi:
PATH="$(srcdir)/util:$${PATH}" TEXINPUTS="$(srcdir):$(common):$${TEXINPUTS}" texi2dvi $(srcdir)/texinfo.texi
+.PHONY: dvi
dist: DISTFILES
- $(RM) -rf $(DISTNAME)
+ $(RM) -r $(DISTNAME)
$(MKDIR) $(DISTNAME)
for d in `find . -type d ! -name RCS -print`; do \
- d=`echo $$d | grep -v '='`; \
- if [ "$$d" != "" ]; then \
- if [ "$$d" != "." -a "$$d" != "./$(DISTNAME)" ]; then \
- mkdir $(DISTNAME)/$$d; \
- fi; \
- fi; \
- done
+ 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) -rf $(DISTNAME)
+ $(RM) -r $(DISTNAME)
# Gets rid of most of the unwanted files. Verify manually (if necessary)
# that this produces a list of all the files desired in the distribution.
DISTFILES: force
(cd $(srcdir); find . ! -type d -print) \
- | sed '/\/RCS\//d; \
+ | sed '/\/RCS\//d; \
/\/EMACS-BACKUPS\//d; \
/\.tar.*/d; \
/~$$/d; /\.o$$/d; \
+ /\.gdbinit$$/d; \
/\.orig$$/d; \
/\#$$/d; \
/\/info\/info$$/d; \
@@ -184,12 +187,13 @@ DISTFILES: force
/\/*\.core$$/d; \
/\/core\..*$$/d; \
/\/a.out$$/d; \
- /\/=/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; \
@@ -197,6 +201,7 @@ DISTFILES: force
/\.vrs$$/d; /\.vr$$/d; \
/\.pgs$$/d; /\.pg$$/d; \
/\.kys$$/d; /\.ky$$/d; \
+ /\.ops$$/d; /\.op$$/d; \
s/^.\///; /^\.$$/d;' \
| sort | uniq > DISTFILES
diff --git a/gnu/usr.bin/texinfo/info/Makefile.in b/gnu/usr.bin/texinfo/info/Makefile.in
index d26363e5130..e0b434dc55f 100644
--- a/gnu/usr.bin/texinfo/info/Makefile.in
+++ b/gnu/usr.bin/texinfo/info/Makefile.in
@@ -1,5 +1,7 @@
# Makefile for texinfo/info. -*- Indented-Text -*-
-# Copyright (C) 1993 Free Software Foundation, Inc.
+# $Id: Makefile.in,v 1.3 1996/12/15 22:21:05 downsj Exp $
+#
+# Copyright (C) 1993,96 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -31,10 +33,8 @@ INSTALL_DATA = @INSTALL_DATA@
LN = ln
RM = rm -f
-TAR = tar
MKDIR = mkdir
-MAKEINFO= PATH=../makeinfo:$$PATH makeinfo
-COMPRESS= compress
+MAKEINFO= ../makeinfo/makeinfo
DEFS = @DEFS@
@@ -54,7 +54,6 @@ exec_prefix = @exec_prefix@
bindir = $(exec_prefix)/bin
# Prefix for each installed program, normally empty or `g'.
binprefix =
-libdir = $(prefix)/lib
# Prefix for each installed man page, normally empty or `g'.
manprefix =
mandir = $(prefix)/man/man1
@@ -97,10 +96,12 @@ CMDFILES = $(srcdir)/session.c $(srcdir)/echo_area.c $(srcdir)/infodoc.c \
MAKEDOC_OBJECTS = makedoc.o clib.o xmalloc.o
MAKEDOC_SOURCE = makedoc.c clib.c xmalloc.c
+infofiles = info.info info-stnd.info
+
.c.o:
$(CC) -c $(CPPFLAGS) $(LDEFS) $(DEFS) -I. -I$(srcdir) -I$(common) $(CFLAGS) $<
-all: info info.info info-stnd.info
+all: info $(infofiles)
sub-all: all
install: all $(INSTALL_MAN)
@@ -109,13 +110,16 @@ install: all $(INSTALL_MAN)
-d=$(srcdir); test -f ./info-stnd.info && d=.; $(INSTALL_DATA) $$d/info-stnd.info $(infodir)/info-stnd.info
install-man:
- -$(INSTALL_DATA) $(srcdir)/info.1 $(mandir)/info.$(manext)
+ -$(INSTALL_DATA) $(srcdir)/info.1 $(mandir)/$(manprefix)info.$(manext)
+ $(POST_INSTALL)
+ ../util/install-info --info-dir=$(infodir) $(infodir)/info.info
+ ../util/install-info --info-dir=$(infodir) $(infodir)/info-stnd.info
uninstall:
$(RM) $(bindir)/info
$(RM) $(infodir)/info.info
$(RM) $(infodir)/info-stnd.info
- $(RM) $(mandir)/info.$(manext)
+ $(RM) $(mandir)/$(manprefix)info.$(manext)
info: $(OBJS) ../libtxi/libtxi.a
$(CC) $(LDFLAGS) -o info $(OBJS) $(LOADLIBES)
@@ -128,7 +132,7 @@ info.info: info.texi
info-stnd.info: info-stnd.texi
$(MAKEINFO) --no-split -I$(srcdir) info-stnd.texi
-all-dvi: info.dvi info-stnd.dvi
+dvi all-dvi: info.dvi info-stnd.dvi
info.dvi: info.texi
PATH="$(util):$${PATH}" TEXINPUTS="$(srcdir):$(common):$${TEXINPUTS}" texi2dvi $(srcdir)/info.texi
@@ -146,7 +150,7 @@ clean:
distclean: clean texclean
$(RM) Makefile config.status config.cache *~ core core.* *.core
- $(RM) *.BAK makedoc-TAGS TAGS \#*
+ $(RM) *.BAK makedoc-TAGS TAGS \#* *.info*
mostlyclean: clean