cleanup
This commit is contained in:
parent
bd7390ee84
commit
a60f6ee1ac
15 changed files with 131 additions and 343 deletions
42
autogen.sh
42
autogen.sh
|
@ -2,33 +2,39 @@
|
|||
|
||||
set -e
|
||||
|
||||
ln -sf ../NEWS grub-core/
|
||||
ln -sf ../README grub-core/
|
||||
ln -sf ../INSTALL grub-core/
|
||||
ln -sf ../AUTHORS grub-core/
|
||||
ln -sf ../COPYING grub-core/
|
||||
ln -sf ../ABOUT-NLS grub-core/
|
||||
ln -sf ../ChangeLog grub-core/
|
||||
ln -sf ../aclocal.m4 grub-core/
|
||||
ln -sf ../acinclude.m4 grub-core/
|
||||
ln -sf ../config.rpath grub-core/
|
||||
ln -sf ../gentpl.py grub-core/
|
||||
ln -sf ../configure.common grub-core/
|
||||
|
||||
ln -sf grub-core/include .
|
||||
ln -sf grub-core/gnulib .
|
||||
ln -sf grub-core/lib .
|
||||
echo "Creating symlinks..."
|
||||
ln -svf ../NEWS grub-core/
|
||||
ln -svf ../TODO grub-core/
|
||||
ln -svf ../THANKS grub-core/
|
||||
ln -svf ../README grub-core/
|
||||
ln -svf ../INSTALL grub-core/
|
||||
ln -svf ../AUTHORS grub-core/
|
||||
ln -svf ../COPYING grub-core/
|
||||
ln -svf ../ABOUT-NLS grub-core/
|
||||
ln -svf ../ChangeLog grub-core/
|
||||
ln -svf ../aclocal.m4 grub-core/
|
||||
ln -svf ../acinclude.m4 grub-core/
|
||||
ln -svf ../config.rpath grub-core/
|
||||
ln -svf ../gentpl.py grub-core/
|
||||
ln -svf ../configure.common grub-core/
|
||||
|
||||
echo "Creating Makefile.tpl..."
|
||||
python gentpl.py | sed -e '/^$/{N;/^\n$/D;}' > Makefile.tpl
|
||||
echo "Running autogen..."
|
||||
autogen -T Makefile.tpl modules.def | sed -e '/^$/{N;/^\n$/D;}' > modules.am
|
||||
|
||||
echo "Creating grub-core/Makefile.tpl..."
|
||||
(cd grub-core && python gentpl.py | sed -e '/^$/{N;/^\n$/D;}' > Makefile.tpl)
|
||||
echo "Running autogen..."
|
||||
(cd grub-core && autogen -T Makefile.tpl modules.def | sed -e '/^$/{N;/^\n$/D;}' > modules.am)
|
||||
|
||||
(cd grub-core && echo timestamp > stamp-h.in)
|
||||
echo "Importing libgcrypt..."
|
||||
(cd grub-core && python import_gcry.py lib/libgcrypt/ .)
|
||||
|
||||
echo "Saving timestamps..."
|
||||
echo timestamp > stamp-h.in
|
||||
autoreconf -vi
|
||||
(cd grub-core && echo timestamp > stamp-h.in)
|
||||
|
||||
echo "Running autoreconf..."
|
||||
autoreconf -vi
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue