~ubuntu-branches/ubuntu/gutsy/m4/gutsy

« back to all changes in this revision

Viewing changes to checks/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2006-09-25 19:20:30 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060925192030-x9s2i4h7wlvsx7dy
Tags: 1.4.7-1
New upstream release. See the NEWS file for details.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
##
2
 
## Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
 
2
## Copyright (C) 1992, 1993, 1994, 2006 Free Software Foundation, Inc.
3
3
##
4
4
## This program is free software; you can redistribute it and/or modify
5
5
## it under the terms of the GNU General Public License as published by
21
21
 
22
22
SHELL = /bin/sh
23
23
 
 
24
bindir = @bindir@
 
25
exec_prefix = @exec_prefix@
 
26
prefix = @prefix@
24
27
srcdir = @srcdir@
25
28
VPATH = @srcdir@
 
29
PATH_SEPARATOR = @PATH_SEPARATOR@
26
30
 
27
31
# Should be GNU awk, for the get-them script.
28
32
AWK = @AWK@
29
33
 
30
34
# Vern says that the first star is required around an Alpha make bug.
31
 
CHECKS = *[0-9][0-9].*
32
 
DISTFILES = Makefile.in get-them check-them stamp-checks incl.m4 foo
33
 
 
34
 
all: stamp-checks
35
 
 
36
 
stamp-checks: get-them ../doc/m4.texinfo
37
 
        rm -f $(srcdir)/$(CHECKS)
 
35
CHECKS = $(srcdir)/*[0-9][0-9][0-9].*
 
36
# Makefile.in is automatically distributed by automake.
 
37
DISTFILES = $(srcdir)/get-them $(srcdir)/check-them $(srcdir)/stamp-checks
 
38
 
 
39
all: $(srcdir)/stamp-checks
 
40
 
 
41
$(srcdir)/stamp-checks: $(srcdir)/get-them $(srcdir)/../doc/m4.texinfo
 
42
        rm -f $(CHECKS)
38
43
        cd $(srcdir) && AWK=$(AWK) ./get-them ../doc/m4.texinfo
39
44
        touch $(srcdir)/stamp-checks
40
45
 
41
46
install:
42
47
 
 
48
dvi pdf ps html info:
 
49
install-dvi install-pdf install-ps install-html install-info:
 
50
 
43
51
uninstall:
44
52
 
45
 
check: stamp-checks
46
 
        PATH=`pwd`/../src:$$PATH; export PATH; \
47
 
        cd $(srcdir) && ./check-them $(CHECKS)
 
53
check: $(srcdir)/stamp-checks
 
54
        PATH=`pwd`/../src"$(PATH_SEPARATOR)"$$PATH; export PATH; \
 
55
        $(srcdir)/check-them -I $(srcdir)/../examples $(CHECKS)
 
56
 
 
57
installcheck: $(srcdir)/stamp-checks
 
58
        PATH='$(bindir)'"$(PATH_SEPARATOR)"$$PATH; export PATH; \
 
59
        $(srcdir)/check-them -I $(srcdir)/../examples $(CHECKS)
48
60
 
49
61
tags:
50
62
 
55
67
distclean: clean
56
68
        rm -f Makefile
57
69
 
58
 
realclean: distclean
59
 
        rm -f $(CHECKS) stamp-checks
 
70
maintainer-clean realclean: distclean
 
71
        rm -f $(CHECKS) $(srcdir)/stamp-checks
 
72
 
 
73
distdir: dist
60
74
 
61
75
dist: $(DISTFILES)
62
76
        @echo "Copying distribution files"
63
 
        @for file in $(DISTFILES); do \
64
 
          ln $(srcdir)/$$file ../$(PACKAGE)-$(VERSION)/checks 2> /dev/null \
65
 
            || cp -p $(srcdir)/$$file ../$(PACKAGE)-$(VERSION)/checks; \
66
 
        done
67
 
        @for file in $(srcdir)/$(CHECKS); do \
68
 
          ln $$file ../$(PACKAGE)-$(VERSION)/checks \
 
77
        @for file in $(DISTFILES) $(CHECKS); do \
 
78
          ln $$file ../$(PACKAGE)-$(VERSION)/checks 2> /dev/null \
69
79
            || cp -p $$file ../$(PACKAGE)-$(VERSION)/checks; \
70
80
        done
71
81
 
72
 
Makefile: Makefile.in ../config.status
73
 
        cd .. && CONFIG_FILES=checks/$@ CONFIG_HEADERS= ./config.status
 
82
Makefile: $(srcdir)/Makefile.in ../config.status
 
83
        cd .. && ./config.status checks/$@
74
84
 
75
85
# Tell versions [3.59,3.63) of GNU make not to export all variables.
76
86
# Otherwise a system limit (for SysV at least) may be exceeded.