mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 09:07:35 +00:00
Ports: Do not allow clean*
to be overridden
There were only two packages making use of this functionality, but it seems more sensible to have a fixed implementation for the cleaning of ports - especially now they delete the entire build directory and/or dist files.
This commit is contained in:
parent
5bfc61bc69
commit
7e85ec3431
3 changed files with 3 additions and 11 deletions
|
@ -440,10 +440,10 @@ func_defined install || install() {
|
||||||
func_defined post_install || post_install() {
|
func_defined post_install || post_install() {
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
func_defined clean || clean() {
|
clean() {
|
||||||
rm -rf "${PORT_BUILD_DIR}"
|
rm -rf "${PORT_BUILD_DIR}"
|
||||||
}
|
}
|
||||||
func_defined clean_dist || clean_dist() {
|
clean_dist() {
|
||||||
OLDIFS=$IFS
|
OLDIFS=$IFS
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
for f in $files; do
|
for f in $files; do
|
||||||
|
@ -452,7 +452,7 @@ func_defined clean_dist || clean_dist() {
|
||||||
rm -f "${PORT_META_DIR}/${filename}"
|
rm -f "${PORT_META_DIR}/${filename}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
func_defined clean_all || clean_all() {
|
clean_all() {
|
||||||
clean
|
clean
|
||||||
clean_dist
|
clean_dist
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,3 @@ install() {
|
||||||
echo "The development of the Qt Serenity platform plugin is happening here. Fixes for things like input handling, window management and theme integration should go here:"
|
echo "The development of the Qt Serenity platform plugin is happening here. Fixes for things like input handling, window management and theme integration should go here:"
|
||||||
echo -e "\t" "https://github.com/SerenityPorts/QSerenityPlatform"
|
echo -e "\t" "https://github.com/SerenityPorts/QSerenityPlatform"
|
||||||
}
|
}
|
||||||
|
|
||||||
clean() {
|
|
||||||
run ninja clean
|
|
||||||
}
|
|
||||||
|
|
|
@ -37,7 +37,3 @@ build() {
|
||||||
install() {
|
install() {
|
||||||
run ninja install
|
run ninja install
|
||||||
}
|
}
|
||||||
|
|
||||||
clean() {
|
|
||||||
run ninja clean
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue