diff --git a/OARiNZ/DIY/deb_package/Makefile b/OARiNZ/DIY/deb_package/Makefile new file mode 100755 index 0000000..bf0a113 --- /dev/null +++ b/OARiNZ/DIY/deb_package/Makefile @@ -0,0 +1,30 @@ +#!/usr/bin/make -f + +SHELL=/bin/sh + + +VERSION=3.0-0ubuntu1 + + +.PHONY: source binary source-unsigned source-signed clean + + +binary: eprints_${VERSION}.dsc + sudo pbuilder build *.dsc + cp /var/cache/pbuilder/result/eprints_${VERSION}_all.deb . + + +source: source-unsigned + +source-unsigned: + cd eprints-3.0 && debuild -S -us -uc -iCVS + cd .. + + +source-signed: + cd eprints-3.0 && debuild -S -k402A6FAF -iCVS + cd .. + + +clean: + rm -f *.diff.gz *.dsc *.deb *.build *.changes