diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-02-23 04:07:35 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-02-23 04:07:35 +0000 |
commit | da1dad220867bd8ba8b9868aedcaa0b584e9659d (patch) | |
tree | 419b5afe0d157e33fb154a23e4023a4e055fa8a9 /Build/source/texk/psutils/psutils-src/bootstrap.conf | |
parent | 858b385656f9bfa17a145904df46aac35e6cba3e (diff) |
texk/psutils: New convention
git-svn-id: svn://tug.org/texlive/trunk@39834 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/psutils/psutils-src/bootstrap.conf')
-rw-r--r-- | Build/source/texk/psutils/psutils-src/bootstrap.conf | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/Build/source/texk/psutils/psutils-src/bootstrap.conf b/Build/source/texk/psutils/psutils-src/bootstrap.conf new file mode 100644 index 00000000000..f00efadf76d --- /dev/null +++ b/Build/source/texk/psutils/psutils-src/bootstrap.conf @@ -0,0 +1,86 @@ +# bootstrap.conf (psutils) +# Written by Gary V. Vaughan, 2010 + +# Copyright (C) 2010 Gary V. Vaughan. + +# This file is part of psutils. +# See LICENSE for license. + +## -------------- ## +## Configuration. ## +## -------------- ## + +# Additional gnulib-tool options to use. +gnulib_tool_options=' +' + +# gnulib modules used by this package. +# FIXME: progname should not be needed +gnulib_modules=' + warnings + manywarnings + binary-io + fseeko + fstat + ftello + getopt-gnu + getline + progname + unistd + verror + xvasprintf +' + +# Extra gnulib files that are not in modules, which override files of +# the same name installed by other bootstrap tools. +gnulib_non_module_files=' + build-aux/config.guess + build-aux/config.sub + build-aux/install-sh +' + +# The not-synced with gnulib warning is bogus until upstream adopts +# the saner bootstrap script. +require_bootstrap_uptodate=: + +## --------------- ## +## Hook functions. ## +## --------------- ## + +# psutils_ignore_gnulib_ignore +# ---------------------------- +# gnulib-tool updates m4/.gitignore and lib/.gitignore, and keeping +# generated files under version control does not make sense. Since +# lib is entirely ignored, we only need to prepopulate the m4 ignore +# files with generated files not tracked by gnulib-tool. +psutils_ignore_gnulib_ignore () +{ + $debug_cmd + + $require_macro_dir + + if test -f "$macro_dir/.gitignore" ; then + : + else + func_verbose "creating initial \`$macro_dir/.gitignore'" + cat > $macro_dir/.gitignore <<\EOF +# files created by bootstrap, but that gnulib doesn't track +*~ +/.gitignore +/gnulib-cache.m4 +/gnulib-comp.m4 +/libtool.m4 +/ltoptions.m4 +/ltsugar.m4 +/ltversion.m4 +/lt~obsolete.m4 +EOF + fi +} +func_add_hook func_prep psutils_ignore_gnulib_ignore + + +# Local variables: +# mode: shell-script +# sh-indentation: 2 +# End: |