Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 15 lines (12 sloc) 0.415 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
PRJ=openSUSE:Tools
PKG=osc-source_validator

all:

package:
@if test -d $(PKG); then cd $(PKG) && osc up && cd -; else osc co -c $(PRJ) $(PKG); fi
@./mkchanges | tee $(PKG)/.changes
@test ! -s $(PKG)/.changes || git push
@test -z "`git rev-list remotes/origin/master..master`" || { echo "unpushed changes"; exit 1; }
@f=(*bz2); test -z "$f" || /bin/rm -vi *.bz2
@./mktar
@mv *bz2 $(PKG)

.PHONY: all package
Something went wrong with that request. Please try again.