Patch by @ptudor to fix up 'make install'
parent
bdc1c0830c
commit
ecc0188151
4
Makefile
4
Makefile
|
@ -49,9 +49,11 @@ clean:
|
|||
|
||||
help2man:
|
||||
$(INSTALL) -m 755 -d $(DESTDIR)$(prefix)/share/man/man1
|
||||
HELP2MAN_DESCRIPTION=Open-source GNSS Monitoring Project
|
||||
HELP2MAN_DESCRIPTION="Open-source GNSS Monitoring Project"
|
||||
$(foreach binaryfile,$(PROGRAMS),help2man -N -n "$(HELP2MAN_DESCRIPTION)" ./$(binaryfile) | gzip > $(DESTDIR)$(prefix)/share/man/man1/$(binaryfile).1.gz;)
|
||||
@echo until these binaries support --help and --version remove the broken output
|
||||
rm -f $(DESTDIR)$(prefix)/share/man/man1/rinreport.1.gz
|
||||
rm -f $(DESTDIR)$(prefix)/share/man/man1/rtcmtool.1.gz
|
||||
rm -f $(DESTDIR)$(prefix)/share/man/man1/testrunner.1.gz
|
||||
|
||||
install: $(PROGRAMS) help2man
|
||||
|
|
Loading…
Reference in New Issue