mirror of
https://github.com/darlinghq/darling-gnudiff.git
synced 2024-11-23 12:19:39 +00:00
18 lines
447 B
Makefile
18 lines
447 B
Makefile
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
|
|
|
##m4-files-begin
|
|
##m4-files-end
|
|
|
|
Makefile.am: Makefile.am.in
|
|
rm -f $@ $@t
|
|
sed -n '1,/^##m4-files-begin/p' $< > $@t
|
|
(((echo EXTRA_DIST =; \
|
|
echo " README jm-glibc-io.m4 Makefile.am.in" \
|
|
) | tr '\012' @); \
|
|
(echo *.m4|tr ' ' @) ) \
|
|
|sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \
|
|
>> $@t
|
|
sed -n '/^##m4-files-end/,$$p' $< >> $@t
|
|
chmod a-w $@t
|
|
mv $@t $@
|