Skip to content

Commit

Permalink
Framework: allow phony `plist-fix' target for core compat
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Jan 4, 2024
1 parent f6deef2 commit e1ce22a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
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
Expand Down Expand Up @@ -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}:
Expand Down
6 changes: 4 additions & 2 deletions Mk/plugins.mk
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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -439,4 +441,4 @@ test: check
${.CURDIR}/src/opnsense/mvc/tests; \
fi

.PHONY: check
.PHONY: check plist-fix

0 comments on commit e1ce22a

Please sign in to comment.