1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #212 from sideswipewvu/debmake

Debmake
This commit is contained in:
Michael DeHaan 2012-04-23 17:10:13 -07:00
commit 39f912899f
2 changed files with 10 additions and 3 deletions

View file

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

0
packaging/debian/rules Normal file → Executable file
View file