Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Less agressive 'uninstall' target: don't remove directory unless it was created by 'install' process. #393

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

henry2cox
Copy link
Collaborator

See #389, #390

Signed-off-by: Henry Cox henry.cox@mediatek.com

Makefile Outdated
@@ -74,6 +74,7 @@ EXES = \
# any of their names
SCRIPTS = $(shell ls scripts | grep -v -E '([\#\~]|\.orig|\.bak|\.BAK)' )
LIBS = lcovutil.pm
MAN_SECTIONS= 1 5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
MAN_SECTIONS= 1 5
MAN_SECTIONS = 1 5

?

@henry2cox henry2cox force-pushed the master branch 2 times, most recently from 030b9c1 to 3da0633 Compare March 4, 2025 15:46
Makefile Outdated

# Program for checking coding style
CHECKSTYLE = $(CURDIR)/bin/checkstyle.sh

INSTALL = install
FIX = $(realpath bin/fix.pl)
RM = rm
RM = rm -f
RMDIR = rmdir --ignore-fail-on-non-empty
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--ignore-fail-on-non-empty is likely not POSIX (https://pubs.opengroup.org/onlinepubs/009695399/utilities/rm.html)

created by 'install' process.  See linux-test-project#389, linux-test-project#390

Signed-off-by:  Henry Cox <henry.cox@mediatek.com>
@henry2cox henry2cox merged commit 38a82d5 into linux-test-project:master Mar 4, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants