From 4618700d0365fee9d81e7d2a8393c186b6716f20 Mon Sep 17 00:00:00 2001 From: luozihao <1165977584@qq.com> Date: Tue, 13 Jul 2021 20:25:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=B8=8A=E4=BC=A0=E5=90=8E?= =?UTF-8?q?=E6=89=93=E5=8C=85=E5=A4=B1=E8=B4=A5=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 2 +- Makefile_online | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 61c89c5..ef53305 100644 --- a/Makefile +++ b/Makefile @@ -213,7 +213,7 @@ deb: rpm: # intended for use on a CentOS or other RPM based system mkdir -p $(DEBUILD_ROOT) && rm -rf $(DEBUILD_ROOT) - rsync -Ca ./ $(DEBUILD_ROOT)/ + rsync -Ca --exclude=*.pdf ./ $(DEBUILD_ROOT)/ cd /tmp && tar czf $(HOME)/rpmbuild/SOURCES/pgloader-$(VERSION).tar.gz pgloader cd $(DEBUILD_ROOT) && rpmbuild -ba pgloader.spec cp -a $(HOME)/rpmbuild/SRPMS/*rpm build diff --git a/Makefile_online b/Makefile_online index 77036f5..526d863 100644 --- a/Makefile_online +++ b/Makefile_online @@ -227,7 +227,7 @@ deb: rpm: # intended for use on a CentOS or other RPM based system mkdir -p $(DEBUILD_ROOT) && rm -rf $(DEBUILD_ROOT) - rsync -Ca --exclude=build/* ./ $(DEBUILD_ROOT)/ + rsync -Ca --exclude={build/*,*.pdf} ./ $(DEBUILD_ROOT)/ cd /tmp && tar czf $(HOME)/rpmbuild/SOURCES/pgloader-$(VERSION).tar.gz pgloader cd $(DEBUILD_ROOT) && rpmbuild -ba pgloader_online.spec cp -a $(HOME)/rpmbuild/SRPMS/*rpm build -- Gitee