home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / m4-1.4-src.tgz / tar.out / fsf / m4 / checks / Makefile.in < prev   
Makefile  |  1996-09-28  |  2KB  |  77 lines

  1. # Makefile for GNU m4 checks directory.
  2. # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
  3.  
  4. # This program is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 2, or (at your option)
  7. # any later version.
  8.  
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. # GNU 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. PRODUCT = @PRODUCT@
  19. VERSION = @VERSION@
  20.  
  21. SHELL = /bin/sh
  22.  
  23. srcdir = @srcdir@
  24. VPATH = @srcdir@
  25.  
  26. # Should be GNU awk, for the get-them script.
  27. AWK = @AWK@
  28.  
  29. # Vern says that the first star is required around an Alpha make bug.
  30. CHECKS = *[0-9][0-9].*
  31. DISTFILES = Makefile.in get-them check-them stamp-checks incl.m4 foo
  32.  
  33. all: stamp-checks
  34.  
  35. stamp-checks: get-them ../doc/m4.texinfo
  36.     rm -f $(srcdir)/$(CHECKS)
  37.     cd $(srcdir) && AWK=$(AWK) ./get-them ../doc/m4.texinfo
  38.     touch $(srcdir)/stamp-checks
  39.  
  40. install:
  41.  
  42. uninstall:
  43.  
  44. check: stamp-checks
  45.     PATH=`pwd`/../src:$$PATH; export PATH; \
  46.     cd $(srcdir) && ./check-them $(CHECKS)
  47.  
  48. tags:
  49.  
  50. mostlyclean:
  51.  
  52. clean: mostlyclean
  53.  
  54. distclean: clean
  55.     rm -f Makefile
  56.  
  57. realclean: distclean
  58.     rm -f $(CHECKS) stamp-checks
  59.  
  60. dist: $(DISTFILES)
  61.     @echo "Copying distribution files"
  62.     @for file in $(DISTFILES); do \
  63.       ln $(srcdir)/$$file ../$(PRODUCT)-$(VERSION)/checks 2> /dev/null \
  64.         || cp -p $(srcdir)/$$file ../$(PRODUCT)-$(VERSION)/checks; \
  65.     done
  66.     @for file in $(srcdir)/$(CHECKS); do \
  67.       ln $$file ../$(PRODUCT)-$(VERSION)/checks \
  68.         || cp -p $$file ../$(PRODUCT)-$(VERSION)/checks; \
  69.     done
  70.  
  71. Makefile: Makefile.in ../config.status
  72.     cd .. && CONFIG_FILES=checks/$@ CONFIG_HEADERS= ./config.status
  73.  
  74. # Tell versions [3.59,3.63) of GNU make not to export all variables.
  75. # Otherwise a system limit (for SysV at least) may be exceeded.
  76. .NOEXPORT:
  77.