diff --git a/Makefile b/Makefile index 61c89c5a75aa663a14bc79c313b18a2da7addc36..ef533050364c55f56a90173d72f43377e7cf8df9 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 77036f5c6323400b7956f66e9fb5bbe5663d7c9d..526d8633ac23cc4cfa3b91cac64c10ba814a3def 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