forked from opnsense/plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Framework: allow phony `plist-fix' target for core compat
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright (c) 2015-2023 Franco Fichtner <[email protected]> | ||
# Copyright (c) 2015-2024 Franco Fichtner <[email protected]> | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions | ||
|
@@ -44,7 +44,7 @@ list: | |
.endfor | ||
|
||
# shared targets that are sane to run from the root directory | ||
TARGETS= clean lint revision style style-fix style-python sweep test | ||
TARGETS= clean lint plist-fix revision style style-fix style-python sweep test | ||
|
||
.for TARGET in ${TARGETS} | ||
${TARGET}: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright (c) 2015-2023 Franco Fichtner <[email protected]> | ||
# Copyright (c) 2015-2024 Franco Fichtner <[email protected]> | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions | ||
|
@@ -377,6 +377,8 @@ lint-php: check | |
|
||
lint: lint-desc lint-shell lint-xml lint-model lint-exec lint-php | ||
|
||
plist-fix: | ||
|
||
sweep: check | ||
find ${.CURDIR}/src -type f -name "*.map" -print0 | \ | ||
xargs -0 -n1 rm | ||
|
@@ -439,4 +441,4 @@ test: check | |
${.CURDIR}/src/opnsense/mvc/tests; \ | ||
fi | ||
|
||
.PHONY: check | ||
.PHONY: check plist-fix |