/
bootstrap
executable file
·48 lines (46 loc) · 1.13 KB
/
bootstrap
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
#! /bin/sh
# This file is part of si53xx, see <https://qu1x.org/si53xx>.
#
# Copyright (c) 2016 Rouven Spreckels <n3vu0r@qu1x.org>
#
# si53xx is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License version 3
# as published by the Free Software Foundation on 19 November 2007.
#
# si53xx is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with si53xx. If not, see <https://www.gnu.org/licenses>.
if [ "$1" = revoke ]; then
test -e Makefile && \
make distclean
rm -rf \
README \
aclocal.m4 \
autom4te.cache \
compile \
config.guess \
config.h \
config.h.in \
config.h.in~ \
config.log \
config.status \
config.sub \
configure \
depcomp \
INSTALL \
install-sh \
libtool \
ltmain.sh \
m4 \
Makefile \
Makefile.in \
missing
else
mkdir -p m4
ln -sf README.md README
autoreconf -i
fi