Skip to content

Commit 8dc6418

Browse files
[STYLE] Style cleanup for v2.0.8-alpha
Changes in file Makefile: * cleaned up new branding target slightly
1 parent 021e383 commit 8dc6418

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ ifeq "$(RMDIR)" ""
157157
RMDIR=$(RM)Rd
158158
endif
159159

160-
.PHONY: all clean test cleanup init help clean-docs must_be_root must_have_flake must_have_pytest uninstall cleanup-dev-backups
160+
.PHONY: all clean test cleanup branding init help clean-docs must_be_root must_have_flake must_have_pytest uninstall cleanup-dev-backups
161161

162162
help:
163163
$(QUIET)printf "HELP\nHouse-keeping:\n\tmake help - this help text\n\tmake build - packages the module\n\tmake clean - cleans up a bit\n\tmake init - sets up requirements for first time\nInstall/Remove:\n\tmake install - installs the module properly\n\tmake user-install - tries an unprivileged install (may not work for some users)\n\tmake uninstall - uninstalls the module\n\tmake purge - uninstalls the module, and resets most related things\n\t\t(the big exception is init)\nMisc:\n\tmake build-docs - generate documentation (using sphinx)\n\tmake test - run minimal acceptance testing\n\tmake test-style - run some code-style testing\n\tmake test-pytest - run extensive testing (with pytest)\n\n";
@@ -191,14 +191,16 @@ build: init ./setup.py MANIFEST.in
191191
$(QUIET)$(WAIT)
192192
$(QUIET)$(ECHO) "build DONE."
193193

194-
init:
195-
$(QUIET)$(PYTHON) -m pip install $(PIP_COMMON_FLAGS) $(PIP_ENV_FLAGS) "pip>=24.3.1" "setuptools>=75.0" "wheel>=0.44" "build>=1.1.1" 2>$(ERROR_LOG_PATH) || :
196-
$(QUIET)$(PYTHON) -m pip install $(PIP_COMMON_FLAGS) $(PIP_ENV_FLAGS) -r requirements.txt 2>$(ERROR_LOG_PATH) || :
194+
branding::
197195
$(QUIET)$(ECHO) ""
198196
$(QUIET)$(ECHO) " _ _ "
199197
$(QUIET)$(ECHO) " //\/\ulticast"
200198
$(QUIET)$(ECHO) " "
201199
$(QUIET)$(ECHO) ""
200+
201+
init: branding
202+
$(QUIET)$(PYTHON) -m pip install $(PIP_COMMON_FLAGS) $(PIP_ENV_FLAGS) "pip>=24.3.1" "setuptools>=75.0" "wheel>=0.44" "build>=1.1.1" 2>$(ERROR_LOG_PATH) || :
203+
$(QUIET)$(PYTHON) -m pip install $(PIP_COMMON_FLAGS) $(PIP_ENV_FLAGS) -r requirements.txt 2>$(ERROR_LOG_PATH) || :
202204
$(QUIET)$(ECHO) "$@: Done."
203205

204206
install: init build

0 commit comments

Comments
 (0)