Skip to content

Commit

Permalink
Merge pull request #62 from Guenael/guenael
Browse files Browse the repository at this point in the history
fix(CI): help2man removed, no land, no man
  • Loading branch information
Guenael authored Dec 31, 2021
2 parents 2993285 + 2ac8b27 commit 073ec3a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install dependencies and build
run: |
sudo apt-get -y update
sudo apt-get -y install build-essential cmake libfftw3-dev libusb-1.0-0-dev librtlsdr-dev libcurl4-gnutls-dev help2man
sudo apt-get -y install build-essential cmake libfftw3-dev libusb-1.0-0-dev librtlsdr-dev libcurl4-gnutls-dev
make
- name: SAST check (C/C++ code analysis)
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
*.1
*.o
*.gz
*.iq
*.c2
rtlsdr_ft8d
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ RUN apt-get update && \
libcurl4-openssl-dev \
libfftw3-dev \
libusb-1.0-0-dev \
pkg-config \
help2man && \
pkg-config && \
rm -rf /var/lib/apt/lists/*

RUN git clone https://github.com/steve-m/librtlsdr.git /root/librtlsdr && \
Expand Down
9 changes: 2 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LIBS = -lusb-1.0 -lrtlsdr -lpthread -lfftw3f -lcurl -lm

OBJS = rtlsdr_ft8d.o ft8_lib/ft8/constants.o ft8_lib/ft8/pack.o ft8_lib/ft8/unpack.o ft8_lib/ft8/text.o ft8_lib/ft8/ldpc.o ft8_lib/ft8/crc.o ft8_lib/ft8/encode.o ft8_lib/ft8/decode.o

TARGETS = rtlsdr_ft8d rtlsdr_ft8d.1
TARGETS = rtlsdr_ft8d

.PHONY: all clean

Expand All @@ -21,12 +21,7 @@ rtlsdr_ft8d: $(OBJS)
$(CC) -o $@ $^ $(LIBS)

clean:
rm -f *.o *.1.gz ft8_lib/ft8/*.o $(TARGETS) fftw_wisdom.dat selftest.iq
rm -f *.o ft8_lib/ft8/*.o $(TARGETS) fftw_wisdom.dat selftest.iq

install:
install rtlsdr_ft8d /usr/local/bin/rtlsdr_ft8d
install rtlsdr_ft8d.1.gz /usr/local/man/man1/rtlsdr_ft8d.1.gz

%.1: %.c | %
-help2man --no-info --no-discard-stderr --output=$@ ./$|
gzip rtlsdr_ft8d.1

0 comments on commit 073ec3a

Please sign in to comment.