You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
489 B
21 lines
489 B
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu> |
|
# |
|
# SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
src_prepare() { |
|
default |
|
|
|
mv lib/textstyle.in.h lib/textstyle.h |
|
|
|
# Remove pre-generated flex/bison files |
|
rm src/parse-gram.c src/parse-gram.h |
|
rm src/scan-code.c |
|
rm src/scan-gram.c |
|
rm src/scan-skel.c |
|
|
|
# Handwritten bison parser |
|
mv parse-gram.c parse-gram.h src/ |
|
|
|
cp ../../mk/lib.mk lib/Makefile |
|
cp ../../mk/src.mk src/Makefile |
|
}
|
|
|