Home | History | Annotate | Line # | Download | only in m4
      1 ## Process this file with automake to produce Makefile.in -*-Makefile-*-
      2 
      3 ##m4-files-begin
      4 EXTRA_DIST = \
      5   README jm-glibc-io.m4 Makefile.am.in \
      6 c-bs-a.m4 \
      7 c-stack.m4 \
      8 check-decl.m4 \
      9 codeset.m4 \
     10 dos.m4 \
     11 error.m4 \
     12 fnmatch.m4 \
     13 gettext.m4 \
     14 glibc21.m4 \
     15 gnu-source.m4 \
     16 iconv.m4 \
     17 inttypes.m4 \
     18 jm-glibc-io.m4 \
     19 lcmessage.m4 \
     20 lib-ld.m4 \
     21 lib-link.m4 \
     22 lib-prefix.m4 \
     23 longlong.m4 \
     24 malloc.m4 \
     25 mbrtowc.m4 \
     26 mbstate_t.m4 \
     27 prereq.m4 \
     28 progtest.m4 \
     29 realloc.m4 \
     30 regex.m4 \
     31 setmode.m4 \
     32 st_mtim.m4 \
     33 stdbool.m4 \
     34 strftime.m4 \
     35 vararrays.m4 \
     36 xstrtoumax.m4
     37 ##m4-files-end
     38 
     39 Makefile.am: Makefile.am.in
     40 	rm -f $@ $@t
     41 	sed -n '1,/^##m4-files-begin/p' $< > $@t
     42 	(((echo EXTRA_DIST =; \
     43 	   echo "  README jm-glibc-io.m4 Makefile.am.in" \
     44 	  ) | tr '\012' @); \
     45 	  (echo *.m4|tr ' ' @) ) \
     46 	  |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \
     47 	  >> $@t
     48 	sed -n '/^##m4-files-end/,$$p' $< >> $@t
     49 	chmod a-w $@t
     50 	mv $@t $@
     51