summary refs log tree commit diff
path: root/manual/Makefile
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2014-02-01 04:31:05 -0200
committerAlexandre Oliva <aoliva@redhat.com>2014-02-01 04:31:05 -0200
commitee196e3ca4e1190a9e869b795d2b6a669e623330 (patch)
tree9ea215907303adbd4ac68bca905ef71713d8c0ca /manual/Makefile
parentf8d529d5199ef7575dae9f8e1909139cf429c1e2 (diff)
downloadglibc-ee196e3ca4e1190a9e869b795d2b6a669e623330.tar.gz
glibc-ee196e3ca4e1190a9e869b795d2b6a669e623330.tar.xz
glibc-ee196e3ca4e1190a9e869b795d2b6a669e623330.zip
* manual/check-safety.sh: New.
* manual/Makefile ($(objpfx)stamp-summary): Run it.
Diffstat (limited to 'manual/Makefile')
-rw-r--r--manual/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/manual/Makefile b/manual/Makefile
index 3037303a71..5f98b2abf8 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -88,6 +88,7 @@ $(objpfx)libc/index.html: $(addprefix $(objpfx),$(libc-texi-generated))
 $(objpfx)summary.texi: $(objpfx)stamp-summary ;
 $(objpfx)stamp-summary: summary.awk $(filter-out $(objpfx)summary.texi, \
 					$(texis-path))
+	-$(SHELL) ./check-safety.sh $(filter-out $(objpfx)%, $(texis-path))
 	$(AWK) -f $^ | sort -t'' -df -k 1,1 | tr '\014' '\012' \
 		> $(objpfx)summary-tmp
 	$(move-if-change) $(objpfx)summary-tmp $(objpfx)summary.texi
@@ -157,7 +158,7 @@ $(objpfx)%.pdf: %.texinfo
 
 # Distribution.
 minimal-dist = summary.awk texis.awk tsort.awk libc-texinfo.sh libc.texinfo \
-	       libm-err.texi stamp-libm-err				    \
+	       libm-err.texi stamp-libm-err check-safety.sh		    \
 	       $(filter-out summary.texi, $(nonexamples))		    \
 	       $(patsubst %.c.texi,examples/%.c, $(examples))