File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
### ==========================================================================
2
- ### $Id$ 2025-05-12 Matthew Sheets
2
+ ### $Id$ 2025-05-24 Matthew Sheets
3
3
### FILE: Makefile.utility - Useful project-independent make targets
4
4
### Includes support for
5
5
### * Stow: Makes the process of managing manual installs/uninstalls cleaner
6
6
### https://www.gnu.org/software/stow/
7
7
### * Debugging and troubleshooting
8
8
### - list-variables target: Outputs defined make variables & their values
9
9
### - submake-list target: Outputs list-variables for a submake
10
+ ### - list-env target: Outputs environment variables
10
11
### --------------------------------------------------------------------------
11
12
12
13
# ----------------------------------------------------------------------------
@@ -60,14 +61,17 @@ list-variables:
60
61
$(info $(shell printf "%-20s" "$(v)")= $(value $(v))) \
61
62
)
62
63
64
+ list-env:
65
+ @printenv
66
+
63
67
submake-list:
64
68
$(MAKE) list-variables
65
69
66
70
67
71
# ----------------------------------------------------------------------------
68
72
# Declare "phony" targets
69
73
# ----------------------------------------------------------------------------
70
- .PHONY: stow restow unstow stow-check-package list-variables submake-list
74
+ .PHONY: stow restow unstow stow-check-package list-variables list-env submake-list
71
75
72
76
### --------------------------------------------------------------------------
73
77
### End of FILE: Makefile.utility
You can’t perform that action at this time.
0 commit comments