mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
makefile docs + added version target...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
df1c389333
commit
207623b3b5
@ -326,6 +326,8 @@ DEPENDENCIES = $(DEPENDENCIES_WEB) \
|
||||
|
||||
|
||||
#**********************************************************************
|
||||
### Help and info...
|
||||
|
||||
# help generator...
|
||||
#
|
||||
# Help syntax:
|
||||
@ -335,6 +337,7 @@ DEPENDENCIES = $(DEPENDENCIES_WEB) \
|
||||
# "##----- Section title ---"
|
||||
#
|
||||
.PHONY: help
|
||||
help: ## Print make target help and exit
|
||||
help:
|
||||
@IFS=$$'\n' ; \
|
||||
help_lines=(`fgrep -h "##" $(MAKEFILE_LIST) \
|
||||
@ -372,6 +375,16 @@ doc/MAKE: Makefile
|
||||
} | egrep -v "^make\[1\]:" > $@
|
||||
|
||||
|
||||
.PHONY: version
|
||||
version: ## Print version and exit
|
||||
version:
|
||||
@echo $(VERSION)
|
||||
|
||||
|
||||
# XXX might be a good idea to print the generated env...
|
||||
#env:
|
||||
|
||||
|
||||
|
||||
#**********************************************************************
|
||||
### Dependency checking...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user