Merge pull request #212 from sideswipewvu/debmake

Debmake
pull/209/merge
Michael DeHaan 12 years ago
commit 39f912899f

@ -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