1# Generated automatically from Makefile.in by configure. 2# Makefile for GNU Shar utility package documentation. 3# Copyright (C) 1995 Free Software Foundation, Inc. 4# 5# This program is free software; you can redistribute it and/or modify 6# it under the terms of the GNU General Public License as published by 7# the Free Software Foundation; either version 2, or (at your option) 8# any later version. 9# 10# This program is distributed in the hope that it will be useful, 11# but WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13# GNU General Public License for more details. 14# 15# You should have received a copy of the GNU General Public License 16# along with this program; if not, write to the Free Software 17# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 19PACKAGE = sharutils 20VERSION = 4.2.1 21 22SHELL = /bin/sh 23srcdir = . 24top_srcdir = .. 25 26transform = s,x,x, 27INSTALL = /bin/install -c 28INSTALL_DATA = ${INSTALL} -m 644 29MAKEINFO = makeinfo 30TEXI2DVI = texi2dvi 31TOUCH = echo timestamp > 32 33DISTFILES = ChangeLog Makefile.in mdate-sh sharutils.texi remsync.texi \ 34shar.1 unshar.1 uuencode.1 uuencode.5 \ 35texinfo.tex version.texi sharutils.info remsync.info stamp-vti 36MAN1PAGES = shar unshar uuencode uudecode 37MAN5PAGES = uuencode 38 39prefix = /usr/local 40infodir = $(prefix)/info 41mandir = $(prefix)/man 42man1dir = $(mandir)/man1 43man1ext = .1 44man5dir = $(mandir)/man5 45man5ext = .5 46subdir = doc 47 48.SUFFIXES: 49 50default: all 51 52all info check: sharutils.info remsync.info 53 54sharutils.info: sharutils.texi version.texi 55 cd $(srcdir) && $(MAKEINFO) sharutils.texi 56 57remsync.info: remsync.texi version.texi 58 cd $(srcdir) && $(MAKEINFO) remsync.texi 59 60dvi: sharutils.dvi remsync.dvi 61 62sharutils.dvi: sharutils.texi texinfo.tex version.texi 63 $(TEXI2DVI) $(srcdir)/sharutils.texi 64 65remsync.dvi: remsync.texi texinfo.tex 66 $(TEXI2DVI) $(srcdir)/remsync.texi 67 68version.texi: stamp-vti 69stamp-vti: sharutils.texi $(top_srcdir)/configure.in 70 echo "@set EDITION $(VERSION)" > version.tmp 71 echo "@set UPDATED `cd $(srcdir) \ 72 && $(SHELL) mdate-sh sharutils.texi`" >> version.tmp 73 echo "@set VERSION $(VERSION)" >> version.tmp 74 if cmp -s version.tmp version.texi; then \ 75 rm -f version.tmp; \ 76 else \ 77 mv -f version.tmp version.texi; \ 78 fi 79 $(TOUCH) $(srcdir)/stamp-vti 80 81install install-exec install-data: all 82install: install-exec install-data 83install-exec: 84install-data: 85 $(top_srcdir)/mkinstalldirs $(infodir) 86 cd $(srcdir) && \ 87 for file in sharutils.info* remsync.info*; do \ 88 $(INSTALL_DATA) $$file $(infodir)/$$file; \ 89 done 90 91uninstall: 92 rm -f $(infodir)/sharutils.info* $(infodir)/remsync.info* 93 94 95# man page installation is kept separate from install. Better think 96# GNU and switch to Info. The following is for irreductible fellows. 97 98install-man: 99 $(top_srcdir)/mkinstalldirs $(man1dir) 100 test -z "$(MAN5PAGES)" || $(top_srcdir)/mkinstalldirs $(man5dir) 101 for name in $(MAN1PAGES); do \ 102 if test $$name = uudecode; then \ 103 rm -f $(man1dir)/`echo uudecode | sed '$(transform)'`$(man1ext); \ 104 man1base=`echo $(man1dir) | sed 's@.*/\(.*\)@&1@'`; \ 105 echo ".so $$man1base/uuencode$(man1ext)" \ 106 > $(man1dir)/`echo uudecode | sed '$(transform)'`$(man1ext); \ 107 else \ 108 $(INSTALL_DATA) $(srcdir)/$$name.1 \ 109 $(man1dir)/`echo $$name | sed '$(transform)'`$(man1ext); \ 110 fi; \ 111 done 112 test -z "$(MAN5PAGES)" || \ 113 for name in $(MAN5PAGES); do \ 114 $(INSTALL_DATA) $(srcdir)/$$name.5 \ 115 $(man5dir)/`echo $$name | sed '$(transform)'`$(man5ext); \ 116 done 117 118uninstall-man: 119 for name in $(MAN1PAGES); do \ 120 rm -f $(man1dir)/`echo $$name | sed '$(transform)'`$(man1ext); \ 121 done 122 test -z "$(MAN5PAGES)" || \ 123 for name in $(MAN5PAGES); do \ 124 rm -f $(man5dir)/`echo $$name | sed '$(transform)'`$(man5ext); \ 125 done 126 127 128TAGS ID: 129 130mostlyclean: 131 rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.log *.pg *.toc *.tp *.vr 132 rm -f *.tmp 133 134clean: mostlyclean 135 136distclean: clean 137 rm -f Makefile 138 139maintainer-clean: distclean 140 @echo "This command is intended only for maintainers to use;" 141 @echo "rebuilding the deleted files may require special tools." 142 rm -f stamp-vti version.texi sharutils.info* remsync.info* 143 144distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) 145dist: Makefile $(DISTFILES) 146 for file in $(DISTFILES); do \ 147 ln $(srcdir)/$$file $(distdir) 2> /dev/null \ 148 || cp -p $(srcdir)/$$file $(distdir); \ 149 done 150 151Makefile: Makefile.in ../config.status 152 cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status 153 154# Tell versions [3.59,3.63) of GNU make not to export all variables. 155# Otherwise a system limit (for SysV at least) may be exceeded. 156.NOEXPORT: 157