|
|
1.1 ! root 1: # ! 2: # Copyright (C) 2001,02 Free Software Foundation, Inc. ! 3: # ! 4: # This program is free software; you can redistribute it and/or ! 5: # modify it under the terms of the GNU General Public License as ! 6: # published by the Free Software Foundation; either version 2, or (at ! 7: # your option) any later version. ! 8: # ! 9: # This program is distributed in the hope that it will be useful, but ! 10: # WITHOUT ANY WARRANTY; without even the implied warranty of ! 11: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! 12: # General Public License for more details. ! 13: # ! 14: # You should have received a copy of the GNU General Public License ! 15: # along with this program; if not, write to the Free Software ! 16: # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ! 17: ! 18: mach-version := @VERSION@ ! 19: targets := mach.info ! 20: ! 21: # Variables from `configure'. ! 22: srcdir=@srcdir@ ! 23: prefix=@prefix@ ! 24: ! 25: infodir=$(prefix)/info ! 26: ! 27: DVIPS = dvips ! 28: ! 29: INSTALL_PROGRAM = @INSTALL_PROGRAM@ ! 30: ! 31: VPATH = $(srcdir) ! 32: ! 33: all: $(targets) ! 34: ! 35: # For each .info file we need a .d file. ! 36: -include $(patsubst %.info,%.d,$(filter %.info,$(targets))) /dev/null ! 37: ! 38: # Build dependencies from included files. ! 39: %.d: %.texi ! 40: set -e; (echo "$*.info $*.dvi: \\"; grep '^@include ' $< | \ ! 41: sed -e 's/^[^ ]*[ ]*\([^ ]*\).*$$/ \1 \\/'; \ ! 42: echo) > [email protected] ! 43: mv -f [email protected] $@ ! 44: ! 45: %.info: %.texi ! 46: @rm -f $@ $@-[0-9] $@-[0-9][0-9] ! 47: $(MAKEINFO) -I $(@D) -I $(<D) $< ! 48: ! 49: .PRECIOUS: %.dvi ! 50: %.dvi: %.texi ! 51: TEXINPUTS=$(srcdir):$$TEXINPUTS \ ! 52: MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< ! 53: ! 54: %.ps: %.dvi ! 55: $(DVIPS) $< -o $@ ! 56: ! 57: # move-if-change = $(SHELL) $(top_srcdir)/move-if-change ! 58: # For now: ! 59: move-if-change = mv ! 60: ! 61: version.texi: stamp-version; @: ! 62: stamp-version: ! 63: echo '@set VERSION $(mach-version)' > version.texi.new ! 64: $(move-if-change) version.texi.new version.texi ! 65: touch $@
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.