This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[patch] skip libm texi generation if perl is not installed
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Wed, 22 Feb 2006 17:58:43 -0500
- Subject: [patch] skip libm texi generation if perl is not installed
- Geoman: IS A RETARD
simple patch ... dont try and regenerate libm documentation if the build
machine does not have perl installed
-mike
2006-02-22 Mike Frysinger <vapier@gentoo.org>
* manual/Makefile (libm-err.texi): Rebuild only when perl is available.
--- libc/manual/Makefile
+++ libc/manual/Makefile
@@ -104,9 +104,13 @@ dir-add.texi: xtract-typefun.awk $(texis
libm-err.texi: stamp-libm-err
stamp-libm-err: libm-err-tab.pl $(wildcard $(foreach dir,$(sysdirs),\
$(dir)/libm-test-ulps))
+ifeq ($(PERL),no)
+ echo "Unable to rebuild libm docs, no perl installed"
+else
pwd=`pwd`; \
$(PERL) $< $$pwd/.. > libm-err-tmp
$(move-if-change) libm-err-tmp libm-err.texi
+endif
touch $@
# Generate Texinfo files from the C source for the example programs.