mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-29 00:05:59 +00:00
Handle build.sh in a better way (recommendation from the automake mailing
list).
This commit is contained in:
parent
6c21790595
commit
dff0be9e68
2 changed files with 6 additions and 8 deletions
12
configure.in
12
configure.in
|
@ -391,16 +391,16 @@ esac
|
|||
# Specify what files are to be created.
|
||||
AC_CONFIG_FILES(Makefile glob/Makefile po/Makefile.in config/Makefile doc/Makefile)
|
||||
|
||||
# We only generate the build.sh if we have a build.sh.in; we won't have
|
||||
# one before we've created a distribution.
|
||||
m4_syscmd([test -f build.sh.in])dnl
|
||||
m4_if(m4_sysval, 0, [AC_CONFIG_FILES(build.sh)])
|
||||
|
||||
|
||||
# OK, do it!
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
# We only generate the build.sh if we have a build.sh.in; we won't have
|
||||
# one before we've created a distribution.
|
||||
if test -f build.sh.in; then
|
||||
./config.status --file build.sh
|
||||
chmod +x build.sh
|
||||
fi
|
||||
|
||||
dnl Local Variables:
|
||||
dnl comment-start: "dnl "
|
||||
|
|
|
@ -338,8 +338,6 @@ Makefile Conventions
|
|||
* Standard Targets:: Standard Targets for Users
|
||||
* Install Command Categories:: Three categories of commands in the `install'
|
||||
|
||||
Copying This Manual
|
||||
|
||||
@end detailmenu
|
||||
@end menu
|
||||
|
||||
|
|
Loading…
Reference in a new issue