home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
tar-1.11.8-src.tgz
/
tar.out
/
fsf
/
tar
/
doc
/
Makefile.in
< prev
next >
Wrap
Makefile
|
1996-09-28
|
3KB
|
115 lines
# Makefile for GNU tar documentation.
# Copyright (C) 1994 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
# the Free Software Foundation; either version 2, or (at your option)
# 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
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
PACKAGE = @PACKAGE@
VERSION = @VERSION@
SHELL = /bin/sh
VPATH = @srcdir@
srcdir = @srcdir@
subdir = doc
top_srcdir = @top_srcdir@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
TOUCH = echo timestamp >
prefix = @prefix@
infodir = $(prefix)/info
.SUFFIXES:
DISTFILES = Makefile.in tar.texinfo docwarn.texi header.texi texinfo.tex \
stamp-vti version.texi \
tar.info tar.info-1 tar.info-2 tar.info-3 tar.info-4 tar.info-5 \
tar.info-6 tar.info-7
all: tar.info tar.guide
info: tar.info
tar.info: tar.texinfo docwarn.texi header.texi version.texi
$(MAKEINFO) -I$(srcdir) $(srcdir)/tar.texinfo -o $@
guide: tar.guide
tar.guide: tar.texinfo
$(MAKEINFO) --amiga -I$(srcdir) $(srcdir)/tar.texinfo -o $@
dvi: tar.dvi
tar.dvi: tar.texinfo docwarn.texi header.texi
$(TEXI2DVI) $(srcdir)/tar.texinfo
# Amiga hack - Couldn't find *any* date command that knows what -r is.
# Amiga hack - Don't use mv to install version.tmp, it might be on
# another file system.
# Amiga hack - Don't even bother remaking version.texi everytime we
# do a build. It just introduces a useless change.
#version.texi: stamp-vti
#stamp-vti: tar.texinfo ../configure.in
# echo "@set EDITION $(VERSION)" > version.tmp
# echo "@set UPDATED `date '+%B %Y'`" \
# >> version.tmp
# echo "@set VERSION $(VERSION)" >> version.tmp
# if cmp -s version.tmp $(srcdir)/version.texi; then rm version.tmp; \
# else cp version.tmp $(srcdir)/version.texi; fi
# $(TOUCH) $(srcdir)/stamp-vti
header.texi: ../src/tar.h
sed -n '/Standard Archive/,/End of Standard/p' $(srcdir)/../src/tar.h \
| expand | sed 's/\([{}]\)/@\1/g' > $(srcdir)/header.texi
install: all
$(top_srcdir)/mkinstalldirs $(infodir)
for file in tar.info*; do \
$(INSTALL_DATA) $$file $(infodir)/$$file; \
done
uninstall:
rm -f $(infodir)/tar.info*
mostlyclean:
rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.log *.pg *.toc *.tp *.vr
rm -f *.tmp
clean: mostlyclean
distclean: clean
rm -f Makefile
maintainer-clean: distclean
@echo "This command is intended only for maintainers to use;"
@echo "rebuilding the deleted files may require special tools."
rm -f stamp-vti version.texi tar.info*
distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
dist shar: $(DISTFILES)
for file in $(DISTFILES); do \
ln $(srcdir)/$$file $(distdir) 2> /dev/null \
|| cp -p $(srcdir)/$$file $(distdir); \
done
Makefile: Makefile.in ../config.status
cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
# Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: