@@ -332,4 +332,39 @@ uninstall:
332332 rm -f $(DESTDIR ) ${localedir} /$$ HLANG/LC_MESSAGES/cpupower.mo; \
333333 done ;
334334
335- .PHONY : all utils libcpupower update-po create-gmo install-lib install-tools install-man install-gmo install uninstall clean
335+ help :
336+ @echo ' Building targets:'
337+ @echo ' all - Default target. Could be omitted. Put build artifacts'
338+ @echo ' to "O" cmdline option dir (default: current dir)'
339+ @echo ' install - Install previously built project files from the output'
340+ @echo ' dir defined by "O" cmdline option (default: current dir)'
341+ @echo ' to the install dir defined by "DESTDIR" cmdline or'
342+ @echo ' Makefile config block option (default: "")'
343+ @echo ' install-lib - Install previously built library binary from the output'
344+ @echo ' dir defined by "O" cmdline option (default: current dir)'
345+ @echo ' and library headers from "lib/" for userspace to the install'
346+ @echo ' dir defined by "DESTDIR" cmdline (default: "")'
347+ @echo ' install-tools - Install previously built "cpupower" util from the output'
348+ @echo ' dir defined by "O" cmdline option (default: current dir) and'
349+ @echo ' "cpupower-completion.sh" script from the src dir to the'
350+ @echo ' install dir defined by "DESTDIR" cmdline or Makefile'
351+ @echo ' config block option (default: "")'
352+ @echo ' install-man - Install man pages from the "man" src subdir to the'
353+ @echo ' install dir defined by "DESTDIR" cmdline or Makefile'
354+ @echo ' config block option (default: "")'
355+ @echo ' install-gmo - Install previously built language files from the output'
356+ @echo ' dir defined by "O" cmdline option (default: current dir)'
357+ @echo ' to the install dir defined by "DESTDIR" cmdline or Makefile'
358+ @echo ' config block option (default: "")'
359+ @echo ' install-bench - Install previously built "cpufreq-bench" util files from the'
360+ @echo ' output dir defined by "O" cmdline option (default: current dir)'
361+ @echo ' to the install dir defined by "DESTDIR" cmdline or Makefile'
362+ @echo ' config block option (default: "")'
363+ @echo ' '
364+ @echo ' Cleaning targets:'
365+ @echo ' clean - Clean build artifacts from the dir defined by "O" cmdline'
366+ @echo ' option (default: current dir)'
367+ @echo ' uninstall - Remove previously installed files from the dir defined by "DESTDIR"'
368+ @echo ' cmdline or Makefile config block option (default: "")'
369+
370+ .PHONY : all utils libcpupower update-po create-gmo install-lib install-tools install-man install-gmo install uninstall clean help
0 commit comments