doc update from akim
[automake.git] / Makefile.in
blob9e25c3f308c3b8256c0c03a9f0abec0a56ebbd1a
1 # Makefile.in generated automatically by automake 1.2b from Makefile.am
3 # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
14 SHELL = /bin/sh
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
35 pkgdatadir = $(datadir)/@PACKAGE@
36 pkglibdir = $(libdir)/@PACKAGE@
37 pkgincludedir = $(includedir)/@PACKAGE@
39 top_builddir = .
41 ACLOCAL = @ACLOCAL@
42 AUTOCONF = @AUTOCONF@
43 AUTOMAKE = @AUTOMAKE@
44 AUTOHEADER = @AUTOHEADER@
46 INSTALL = @INSTALL@
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 INSTALL_DATA = @INSTALL_DATA@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
50 transform = @program_transform_name@
52 NORMAL_INSTALL = true
53 PRE_INSTALL = true
54 POST_INSTALL = true
55 NORMAL_UNINSTALL = true
56 PRE_UNINSTALL = true
57 POST_UNINSTALL = true
58 MAKEINFO = @MAKEINFO@
59 PACKAGE = @PACKAGE@
60 PERL = @PERL@
61 TAR = @TAR@
62 VERSION = @VERSION@
64 AUTOMAKE_OPTIONS = gnits
65 MAINT_CHARSET = latin1
67 SUBDIRS = tests m4
69 bin_SCRIPTS = automake aclocal
70 info_TEXINFOS = automake.texi
72 pkgdata_DATA = clean-kr.am clean.am clean-hdr.am comp-vars.am \
73 compile.am data.am dejagnu.am depend.am depend2.am dist-vars.am \
74 footer.am header.am header-vars.am kr-extra.am libs.am library.am \
75 libtool.am ltlib.am ltlibrary.am mans-vars.am program.am progs.am \
76 remake-hdr.am remake.am scripts.am subdirs.am tags.am tags-clean.am \
77 texi-vers.am texinfos.am libs-clean.am ltlib-clean.am progs-clean.am \
78 data-clean.am COPYING INSTALL texinfo.tex ansi2knr.c ansi2knr.1 \
79 lisp.am lisp-clean.am
81 pkgdata_SCRIPTS = config.guess config.sub install-sh mdate-sh missing \
82 mkinstalldirs elisp-comp ylwrap acinstall
84 EXTRA_DIST = acinstall $(pkgdata_DATA)
86 # The following requires a fixed version of the Emacs 19.30 etags.
87 ETAGS_ARGS = automake.in aclocal.in --lang=none \
88 --regex='/^@node[ \t]+\([^,]+\)/\1/' automake.texi
89 TAGS_DEPENDENCIES = automake.in aclocal.in automake.texi
90 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
91 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
92 CONFIG_CLEAN_FILES = automake aclocal
93 SCRIPTS = $(bin_SCRIPTS) $(pkgdata_SCRIPTS)
95 TEXI2DVI = texi2dvi
96 TEXINFO_TEX = $(srcdir)/texinfo.tex
97 INFO_DEPS = automake.info
98 DVIS = automake.dvi
99 TEXINFOS = automake.texi
100 DATA = $(pkgdata_DATA)
102 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
103 Makefile.in NEWS README-alpha THANKS TODO aclocal.in aclocal.m4 \
104 ansi2knr.1 ansi2knr.c automake.in config.guess config.sub configure \
105 configure.in elisp-comp install-sh mdate-sh missing mkinstalldirs \
106 stamp-vti texinfo.tex version.texi ylwrap
109 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
111 GZIP = --best
112 default: all
114 .SUFFIXES:
115 .SUFFIXES: .dvi .info .ps .texi .texinfo
116 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
117 cd $(top_srcdir) && $(AUTOMAKE) --gnits Makefile
119 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
120 cd $(top_builddir) \
121 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
123 $(ACLOCAL_M4): configure.in
124 cd $(srcdir) && $(ACLOCAL)
126 config.status: $(srcdir)/configure
127 $(SHELL) ./config.status --recheck
128 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
129 cd $(srcdir) && $(AUTOCONF)
130 automake: $(top_builddir)/config.status automake.in
131 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
132 aclocal: $(top_builddir)/config.status aclocal.in
133 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
135 install-binSCRIPTS: $(bin_SCRIPTS)
136 @$(NORMAL_INSTALL)
137 $(mkinstalldirs) $(bindir)
138 @list='$(bin_SCRIPTS)'; for p in $$list; do \
139 if test -f $$p; then \
140 echo " $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
141 $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
142 else if test -f $(srcdir)/$$p; then \
143 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
144 $(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`; \
145 else :; fi; fi; \
146 done
148 uninstall-binSCRIPTS:
149 $(NORMAL_UNINSTALL)
150 list='$(bin_SCRIPTS)'; for p in $$list; do \
151 rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
152 done
154 install-pkgdataSCRIPTS: $(pkgdata_SCRIPTS)
155 @$(NORMAL_INSTALL)
156 $(mkinstalldirs) $(pkgdatadir)
157 @list='$(pkgdata_SCRIPTS)'; for p in $$list; do \
158 if test -f $$p; then \
159 echo " $(INSTALL_SCRIPT) $$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`"; \
160 $(INSTALL_SCRIPT) $$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
161 else if test -f $(srcdir)/$$p; then \
162 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`"; \
163 $(INSTALL_SCRIPT) $(srcdir)/$$p $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
164 else :; fi; fi; \
165 done
167 uninstall-pkgdataSCRIPTS:
168 $(NORMAL_UNINSTALL)
169 list='$(pkgdata_SCRIPTS)'; for p in $$list; do \
170 rm -f $(pkgdatadir)/`echo $$p|sed '$(transform)'`; \
171 done
173 version.texi: stamp-vti
174 cp $(srcdir)/stamp-vti $(srcdir)/version.texi
176 stamp-vti: automake.texi $(top_srcdir)/configure.in
177 @echo "@set UPDATED `cd $(srcdir) \
178 && $(SHELL) ./mdate-sh automake.texi`" > vti.tmp
179 @echo "@set EDITION $(VERSION)" >> vti.tmp
180 @echo "@set VERSION $(VERSION)" >> vti.tmp
181 @cmp -s vti.tmp $(srcdir)/stamp-vti \
182 || (echo "Updating $(srcdir)/stamp-vti"; \
183 cp vti.tmp $(srcdir)/stamp-vti)
184 -@rm -f vti.tmp
186 mostlyclean-vti:
187 -rm -f vti.tmp
189 clean-vti:
191 distclean-vti:
193 maintainer-clean-vti:
194 -rm -f stamp-vti version.texi
196 automake.info: automake.texi version.texi
197 automake.dvi: automake.texi version.texi
200 DVIPS = dvips
202 .texi.info:
203 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
204 cd $(srcdir) \
205 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
207 .texi.dvi:
208 TEXINPUTS=$(srcdir):$$TEXINPUTS \
209 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
211 .texi:
212 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
213 cd $(srcdir) \
214 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
216 .texinfo.info:
217 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
218 cd $(srcdir) \
219 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
221 .texinfo:
222 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
223 cd $(srcdir) \
224 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
226 .texinfo.dvi:
227 TEXINPUTS=$(srcdir):$$TEXINPUTS \
228 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
229 .dvi.ps:
230 $(DVIPS) $< -o $@
232 install-info-am: $(INFO_DEPS)
233 @$(NORMAL_INSTALL)
234 $(mkinstalldirs) $(infodir)
235 @for file in $(INFO_DEPS); do \
236 d=$(srcdir); \
237 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
238 if test -f $$d/$$ifile; then \
239 echo " $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile"; \
240 $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
241 else : ; fi; \
242 done; \
243 done
244 @$(POST_INSTALL)
245 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
246 for file in $(INFO_DEPS); do \
247 echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\
248 install-info --info-dir=$(infodir) $(infodir)/$$file || :;\
249 done; \
250 else : ; fi
252 uninstall-info:
253 $(PRE_UNINSTALL)
254 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
255 ii=yes; \
256 else ii=; fi; \
257 for file in $(INFO_DEPS); do \
258 test -z $ii || install-info --info-dir=$(infodir) --remove $$file; \
259 done
260 $(NORMAL_UNINSTALL)
261 for file in $(INFO_DEPS); do \
262 (cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
263 done
265 dist-info: $(INFO_DEPS)
266 for base in $(INFO_DEPS); do \
267 d=$(srcdir); \
268 for file in `cd $$d && eval echo $$base*`; do \
269 test -f $(distdir)/$$file \
270 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
271 || cp -p $$d/$$file $(distdir)/$$file; \
272 done; \
273 done
275 mostlyclean-aminfo:
276 -rm -f automake.aux automake.cp automake.cps automake.dvi automake.fn \
277 automake.fns automake.ky automake.kys automake.ps \
278 automake.log automake.pg automake.toc automake.tp \
279 automake.tps automake.vr automake.vrs automake.op automake.tr \
280 automake.cv automake.cn
282 clean-aminfo:
284 distclean-aminfo:
286 maintainer-clean-aminfo:
287 for i in $(INFO_DEPS); do \
288 rm -f $$i; \
289 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
290 rm -f $$i-[0-9]*; \
291 fi; \
292 done
294 install-pkgdataDATA: $(pkgdata_DATA)
295 @$(NORMAL_INSTALL)
296 $(mkinstalldirs) $(pkgdatadir)
297 @list='$(pkgdata_DATA)'; for p in $$list; do \
298 if test -f $(srcdir)/$$p; then \
299 echo " $(INSTALL_DATA) $(srcdir)/$$p $(pkgdatadir)/$$p"; \
300 $(INSTALL_DATA) $(srcdir)/$$p $(pkgdatadir)/$$p; \
301 else if test -f $$p; then \
302 echo " $(INSTALL_DATA) $$p $(pkgdatadir)/$$p"; \
303 $(INSTALL_DATA) $$p $(pkgdatadir)/$$p; \
304 fi; fi; \
305 done
307 uninstall-pkgdataDATA:
308 $(NORMAL_UNINSTALL)
309 list='$(pkgdata_DATA)'; for p in $$list; do \
310 rm -f $(pkgdatadir)/$$p; \
311 done
313 # This directory's subdirectories are mostly independent; you can cd
314 # into them and run `make' without going through this Makefile.
315 # To change the values of `make' variables: instead of editing Makefiles,
316 # (1) if the variable is set in `config.status', edit `config.status'
317 # (which will cause the Makefiles to be regenerated when you run `make');
318 # (2) otherwise, pass the desired values on the `make' command line.
320 @SET_MAKE@
322 all-recursive install-data-recursive install-exec-recursive \
323 installdirs-recursive install-recursive uninstall-recursive \
324 check-recursive installcheck-recursive info-recursive dvi-recursive:
325 @set fnord $(MAKEFLAGS); amf=$$2; \
326 for subdir in $(SUBDIRS); do \
327 target=`echo $@ | sed s/-recursive//`; \
328 echo "Making $$target in $$subdir"; \
329 (cd $$subdir && $(MAKE) $$target) \
330 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
331 done && test -z "$$fail"
333 mostlyclean-recursive clean-recursive distclean-recursive \
334 maintainer-clean-recursive:
335 @set fnord $(MAKEFLAGS); amf=$$2; \
336 rev=''; for subdir in $(SUBDIRS); do rev="$$subdir $$rev"; done; \
337 for subdir in $$rev; do \
338 target=`echo $@ | sed s/-recursive//`; \
339 echo "Making $$target in $$subdir"; \
340 (cd $$subdir && $(MAKE) $$target) \
341 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
342 done && test -z "$$fail"
343 tags-recursive:
344 list='$(SUBDIRS)'; for subdir in $$list; do \
345 (cd $$subdir && $(MAKE) tags); \
346 done
348 tags: TAGS
350 ID: $(HEADERS) $(SOURCES)
351 here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
353 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
354 tags=; \
355 here=`pwd`; \
356 list='$(SUBDIRS)'; for subdir in $$list; do \
357 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
358 done; \
359 test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \
360 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS)
362 mostlyclean-tags:
364 clean-tags:
366 distclean-tags:
367 -rm -f TAGS ID
369 maintainer-clean-tags:
371 distdir = $(PACKAGE)-$(VERSION)
372 top_distdir = $(distdir)
374 # This target untars the dist file and tries a VPATH configuration. Then
375 # it guarantees that the distribution is self-contained by making another
376 # tarfile.
377 distcheck: dist
378 -rm -rf $(distdir)
379 GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
380 mkdir $(distdir)/=build
381 mkdir $(distdir)/=inst
382 dc_install_base=`cd $(distdir)/=inst && pwd`; \
383 cd $(distdir)/=build \
384 && ../configure --srcdir=.. --prefix=$$dc_install_base \
385 && $(MAKE) \
386 && $(MAKE) dvi \
387 && $(MAKE) check \
388 && $(MAKE) install \
389 && $(MAKE) installcheck \
390 && $(MAKE) dist
391 -rm -rf $(distdir)
392 @echo "========================"; \
393 echo "$(distdir).tar.gz is ready for distribution"; \
394 echo "========================"
395 dist: distdir
396 -chmod -R a+r $(distdir)
397 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
398 -rm -rf $(distdir)
399 dist-all: distdir
400 -chmod -R a+r $(distdir)
401 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
402 -rm -rf $(distdir)
403 distdir: $(DISTFILES)
404 @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \
405 echo "NEWS not updated; not releasing" 1>&2; \
406 exit 1; \
408 -rm -rf $(distdir)
409 mkdir $(distdir)
410 -chmod 777 $(distdir)
411 here=`cd $(top_builddir) && pwd`; \
412 top_distdir=`cd $(top_distdir) && pwd`; \
413 distdir=`cd $(distdir) && pwd`; \
414 cd $(top_srcdir) \
415 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$distdir --gnits Makefile
416 @for file in $(DISTFILES); do \
417 d=$(srcdir); \
418 test -f $(distdir)/$$file \
419 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
420 || cp -p $$d/$$file $(distdir)/$$file; \
421 done
422 for subdir in $(SUBDIRS); do \
423 test -d $(distdir)/$$subdir \
424 || mkdir $(distdir)/$$subdir \
425 || exit 1; \
426 chmod 777 $(distdir)/$$subdir; \
427 (cd $$subdir && $(MAKE) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
428 || exit 1; \
429 done
430 $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
431 info: $(INFO_DEPS) info-recursive
432 dvi: $(DVIS) dvi-recursive
433 check: all-am
434 $(MAKE) check-recursive
435 installcheck: installcheck-recursive installcheck-local
436 all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)
438 install-exec-am: install-binSCRIPTS
440 install-data-am: install-info-am install-pkgdataSCRIPTS install-pkgdataDATA
442 uninstall-am: uninstall-binSCRIPTS uninstall-pkgdataSCRIPTS uninstall-info uninstall-pkgdataDATA
444 install-exec: install-exec-recursive install-exec-am
445 @$(NORMAL_INSTALL)
447 install-data: install-data-recursive install-data-am
448 @$(NORMAL_INSTALL)
450 install: install-recursive install-exec-am install-data-am
453 uninstall: uninstall-recursive uninstall-am
455 all: all-recursive all-am
457 install-strip:
458 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
459 installdirs: installdirs-recursive
460 $(mkinstalldirs) $(bindir) $(pkgdatadir) $(infodir) $(pkgdatadir)
463 mostlyclean-generic:
464 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
466 clean-generic:
467 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
469 distclean-generic:
470 -rm -f Makefile $(DISTCLEANFILES)
471 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
472 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
474 maintainer-clean-generic:
475 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
476 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
477 mostlyclean-am: mostlyclean-vti mostlyclean-aminfo mostlyclean-tags \
478 mostlyclean-generic
480 clean-am: clean-vti clean-aminfo clean-tags clean-generic \
481 mostlyclean-am
483 distclean-am: distclean-vti distclean-aminfo distclean-tags \
484 distclean-generic clean-am
486 maintainer-clean-am: maintainer-clean-vti maintainer-clean-aminfo \
487 maintainer-clean-tags maintainer-clean-generic \
488 distclean-am
490 mostlyclean: mostlyclean-recursive mostlyclean-am
492 clean: clean-recursive clean-am
494 distclean: distclean-recursive distclean-am
495 -rm -f config.status
497 maintainer-clean: maintainer-clean-recursive maintainer-clean-am
498 @echo "This command is intended for maintainers to use;"
499 @echo "it deletes files that may require special tools to rebuild."
500 -rm -f config.status
502 .PHONY: default uninstall-binSCRIPTS install-binSCRIPTS \
503 uninstall-pkgdataSCRIPTS install-pkgdataSCRIPTS mostlyclean-vti \
504 distclean-vti clean-vti maintainer-clean-vti install-info-am \
505 uninstall-info mostlyclean-aminfo distclean-aminfo clean-aminfo \
506 maintainer-clean-aminfo uninstall-pkgdataDATA install-pkgdataDATA \
507 install-data-recursive uninstall-data-recursive install-exec-recursive \
508 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
509 all-recursive check-recursive installcheck-recursive info-recursive \
510 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
511 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
512 distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
513 installcheck-local installcheck all-am install-exec-am install-data-am \
514 uninstall-am install-exec install-data install uninstall all \
515 installdirs mostlyclean-generic distclean-generic clean-generic \
516 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
519 -rm -rf testSubdir
520 installcheck-local:
521 for file in $(pkgdata_SCRIPTS); do \
522 $(PERL) -e "exit ! -x '$(pkgdatadir)/$$file';" || exit 1; \
523 done
525 ################################################################
527 # Run the test suite using Perl 4.
528 perl4-check: automake aclocal
529 @if $(SHELL) -c 'perl4.036 -v' > /dev/null 2>&1; then \
530 $(MAKE) PERL=perl4.036 check; \
531 else :; fi
533 # Some simple checks, and then ordinary check. These are only really
534 # guaranteed to work on my machine.
535 maintainer-check: automake aclocal
536 @if test `diff automake.in automake | wc -l` -ne 24; then \
537 echo "found too many diffs between automake.in and automake"; 1>&2; \
538 diff -c automake.in automake; \
539 exit 1; \
541 $(PERL) -c -w automake
542 $(PERL) -c -w aclocal
543 @if test `fgrep '$${' $(srcdir)/[a-z]*.am | fgrep -v '$$$$' | wc -l` -ne 0; then \
544 echo "found too many uses of '\$${'" 1>&2; \
545 exit 1; \
546 else :; fi
547 @if test `fgrep 'mkinstalldirs' $(srcdir)/[a-z]*.am | fgrep -v '$$(mkinstalldirs)' | wc -l` -ne 0; then \
548 echo "found incorrect use of mkinstalldirs" 1>&2; \
549 exit 1; \
550 else :; fi
551 @if $(SHELL) -c 'perl4.036 -v' >/dev/null 2>&1; then \
552 perl4.036 -c -w automake; \
553 perl4.036 -c -w aclocal; \
554 else :; fi
555 @if grep undef $(srcdir)/automake.in > /dev/null 2>&1; then \
556 echo "Found undef in automake.in; use delete instead" 1>&2; \
557 exit 1; \
559 @if fgrep 'split (/ /' $(srcdir)/automake.in > /dev/null 2>&1; then \
560 echo "Found bad split in automake.in" 1>&2; \
561 exit 1; \
564 # Tag before making distribution. Also, don't make a distribution if
565 # checks fail. Also, make sure the NEWS file is up-to-date.
566 cvs-dist: maintainer-check perl4-check distcheck
567 @if sed 1q $(srcdir)/NEWS | grep -e "$(VERSION)" > /dev/null; then :; else \
568 echo "NEWS not updated; not releasing" 1>&2; \
569 exit 1; \
571 cvs -q tag `echo "Release-$(VERSION)" | sed 's/\./-/g'`
572 $(MAKE) dist
574 cvs-diff:
575 thisver=`echo "Release-$(VERSION)" | sed 's/\./-/g'`; \
576 if test -z "$$OLDVERSION"; then \
577 prevno=`echo "$(VERSION)" - 0.01 | bc | sed 's/^\./0./'`; \
578 else prevno="$$OLDVERSION"; fi; \
579 prevver=Release-`echo $$prevno | sed 's/\./-/g'`; \
580 cvs -f rdiff -c -r $$prevver -r $$thisver $(PACKAGE) \
581 > $(PACKAGE)-$$prevno-$(VERSION).diff
583 path-check: distdir
584 (cd $(distdir) && \
585 find . -print | xargs pathchk -p); \
586 status=$$?; \
587 rm -rf $(distdir); \
588 exit $$status
590 # Tell versions [3.59,3.63) of GNU make to not export all variables.
591 # Otherwise a system limit (for SysV at least) may be exceeded.
592 .NOEXPORT: