2 # Copyright (C) 2003-2024 Free Software Foundation, Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2, or (at your option)
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <https://www.gnu.org/licenses/>.
17 # Check that the top-level files (INSTALL, NEWS, README-alpha, etc.)
18 # can be .md, or not. (Based on alpha2.sh.)
22 cat > configure.ac
<< 'END'
23 AC_INIT
([alpha
], [1.0b
])
24 AM_INIT_AUTOMAKE
([readme-alpha
])
25 AC_CONFIG_FILES
([Makefile sub
/Makefile
])
29 cat > Makefile.am
<< 'END'
32 for f
in AUTHORS ChangeLog INSTALL NEWS README THANKS
; do \
33 test -f $
(distdir
)/$
$f.md
; done
34 test -f $
(distdir
)/COPYING
35 test -f $
(distdir
)/README-alpha.md
36 test ! -f $
(distdir
)/sub
/README.md
37 test ! -f $
(distdir
)/sub
/README-alpha.md
# not distributed
44 # do both md and non-md.
46 : > sub
/README-alpha.md