diff --git a/Makefile b/Makefile index 865656059..d6aebe498 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Copyright (c) 2015-2023 Franco Fichtner +# Copyright (c) 2015-2024 Franco Fichtner # # 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}: diff --git a/Mk/plugins.mk b/Mk/plugins.mk index 3481c34de..2b3b9cb7c 100644 --- a/Mk/plugins.mk +++ b/Mk/plugins.mk @@ -1,4 +1,4 @@ -# Copyright (c) 2015-2023 Franco Fichtner +# Copyright (c) 2015-2024 Franco Fichtner # # 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