Makefile 298 B

1234567891011
  1. VERSION=1.3.0
  2. check:
  3. rpmlint -i dist/paho-c.spec
  4. rpm-prep:
  5. mkdir -p ${HOME}/rpmbuild/SOURCES/
  6. tar --transform="s/\./paho-c-${VERSION}/" -cf ${HOME}/rpmbuild/SOURCES/v${VERSION}.tar.gz --exclude=./build.paho --exclude=.git --exclude=*.bz ./ --gzip
  7. rpm: rpm-prep
  8. rpmbuild -ba dist/paho-c.spec