]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Test --with-rrsync configure option & put rrsync into the artifacts.
authorWayne Davison <wayne@opencoder.net>
Sun, 26 Dec 2021 22:48:55 +0000 (14:48 -0800)
committerWayne Davison <wayne@opencoder.net>
Sun, 26 Dec 2021 22:58:16 +0000 (14:58 -0800)
.github/workflows/build.yml
Makefile.in
packaging/auto-Makefile

index 9e34b4c971e667bebcd608190c3ed6652464fa91..4f5cbf23d734f9cbe2e8b3514cf21641c566cb85 100644 (file)
@@ -22,9 +22,9 @@ jobs:
         wget -O git-version.h https://gist.githubusercontent.com/WayneD/c11243fa374fc64d4e42f2855c8e3827/raw/rsync-git-version.h
         echo "/usr/local/bin" >>$GITHUB_PATH
     - name: configure
-      run: ./configure
+      run: ./configure --with-rrsync
     - name: make
-      run: make
+      run: make all rrsync
     - name: install
       run: sudo make install
     - name: info
@@ -47,6 +47,8 @@ jobs:
           rsync.1
           rsync-ssl.1
           rsyncd.conf.5
+          rrsync.1
+          rrsync
 
   macos-build:
     runs-on: macos-latest
@@ -59,9 +61,9 @@ jobs:
         wget -O git-version.h https://gist.githubusercontent.com/WayneD/c11243fa374fc64d4e42f2855c8e3827/raw/rsync-git-version.h
         echo "/usr/local/bin" >>$GITHUB_PATH
     - name: configure
-      run: CPPFLAGS=-I/usr/local/opt/openssl/include/ LDFLAGS=-L/usr/local/opt/openssl/lib/ ./configure
+      run: CPPFLAGS=-I/usr/local/opt/openssl/include/ LDFLAGS=-L/usr/local/opt/openssl/lib/ ./configure --with-rrsync
     - name: make
-      run: make
+      run: make all rrsync
     - name: install
       run: sudo make install
     - name: info
@@ -80,6 +82,8 @@ jobs:
           rsync.1
           rsync-ssl.1
           rsyncd.conf.5
+          rrsync.1
+          rrsync
 
   cygwin-build:
     runs-on: windows-latest
@@ -97,9 +101,9 @@ jobs:
     - name: commonmark
       run: bash -c 'python3 -mpip install --user commonmark'
     - name: configure
-      run: bash -c './configure'
+      run: bash -c './configure --with-rrsync'
     - name: make
-      run: bash -c 'make'
+      run: bash -c 'make all rrsync'
     - name: install
       run: bash -c 'make install'
     - name: info
@@ -118,3 +122,5 @@ jobs:
           rsync.1
           rsync-ssl.1
           rsyncd.conf.5
+          rrsync.1
+          rrsync
index 5eed339e36ba0a0902703fe43ab9ace2a207c2d9..98d5a7af8e3c5d9be05a68d847d3b77cca76faa3 100644 (file)
@@ -101,6 +101,9 @@ install-strip:
 rsync$(EXEEXT): $(OBJS)
        $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
 
+rrsync: support/rrsync
+       cp -p $(srcdir)/support/rrsync rrsync
+
 $(OBJS): $(HEADERS)
 $(CHECK_OBJS): $(HEADERS)
 tls.o xattrs.o: lib/sysxattrs.h
index 29d2d6889370861b6753d01d76609a37f3f4d6af..7f2e2585c674d3ebb8f78c7a9fdfa7a0dae6610f 100644 (file)
@@ -1,6 +1,6 @@
 TARGETS := all install install-ssl-daemon install-all install-strip conf gen gensend reconfigure restatus \
        proto man clean cleantests distclean test check check29 check30 installcheck splint \
-       doxygen doxygen-upload finddead
+       doxygen doxygen-upload finddead rrsync
 
 .PHONY: $(TARGETS) auto-prep