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

debian packaging

This commit is contained in:
Henry Graham 2012-04-23 19:17:01 -04:00
parent ec56b30248
commit 21269a845f
2 changed files with 10 additions and 3 deletions

View file

@ -84,6 +84,9 @@ clean:
rm -rf test/test_data
@echo "Cleaning up RPM building stuff"
rm -rf MANIFEST rpm-build
@echo "Cleaning up Debian building stuff"
rm -rf debian
rm -rf deb-build
python:
python setup.py build
@ -126,9 +129,13 @@ rpm: rpmcommon
@echo " rpm-build/noarch/$(RPMNVR).noarch.rpm"
@echo "#############################################"
debian:
# stub target, FIXME!
(cd packaging/debian; dpkg-buildpackage -us -uc -rfakeroot)
debian: sdist
deb: debian
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

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