Patch by @ptudor to fix up 'make install'

pull/117/head
bert hubert 2020-04-28 22:31:03 +02:00
parent bdc1c0830c
commit ecc0188151
1 changed files with 3 additions and 1 deletions

View File

@ -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