generated from HDFGroup/vol-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
restore.sh
executable file
·54 lines (45 loc) · 1.52 KB
/
restore.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/sh
#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
#
# A script to clean up the action of autogen.sh
#
# If this script fails to clean up generated files on a particular
# platform, please contact [email protected] or comment on the forum.
echo
echo "**************************"
echo "* autogen.sh undo script *"
echo "**************************"
echo
echo "Remove autom4te.cache directory"
rm -rf autom4te.cache
echo "Remove configure script"
rm -f configure
echo "Remove Makefile.in files"
find . -type f -name 'Makefile.in' -exec rm {} \;
echo "Remove files generated by libtoolize"
rm -f bin/ltmain.sh
rm -f m4/libtool.m4
rm -f m4/ltoptions.m4
rm -f m4/ltsugar.m4
rm -f m4/ltversion.m4
rm -f m4/lt~obsolete.m4
echo "Remove files generated by automake"
rm -f bin/compile
rm -f bin/config.guess
rm -f bin/config.sub
rm -f bin/install-sh
rm -f bin/missing
rm -f bin/test-driver
rm -f bin/depcomp
echo "Remove remaining generated files"
rm -f aclocal.m4
rm -f config.h.in