debian packaging

pull/212/head
Henry Graham 13 years ago
parent ec56b30248
commit 21269a845f

@ -84,6 +84,9 @@ clean:
rm -rf test/test_data rm -rf test/test_data
@echo "Cleaning up RPM building stuff" @echo "Cleaning up RPM building stuff"
rm -rf MANIFEST rpm-build rm -rf MANIFEST rpm-build
@echo "Cleaning up Debian building stuff"
rm -rf debian
rm -rf deb-build
python: python:
python setup.py build python setup.py build
@ -126,9 +129,13 @@ rpm: rpmcommon
@echo " rpm-build/noarch/$(RPMNVR).noarch.rpm" @echo " rpm-build/noarch/$(RPMNVR).noarch.rpm"
@echo "#############################################" @echo "#############################################"
debian: debian: sdist
# stub target, FIXME! deb: debian
(cd packaging/debian; dpkg-buildpackage -us -uc -rfakeroot) cp -r packaging/debian ./
chmod 755 debian/rules
fakeroot debian/rules clean
fakeroot dh_install
fakeroot debian/rules binary
# for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory # for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory

Loading…
Cancel
Save