Skip to content

Commit

Permalink
debian packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Graham committed Apr 23, 2012
1 parent ec56b30 commit 21269a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Empty file modified packaging/debian/rules
100644 → 100755
Empty file.

0 comments on commit 21269a8

Please sign in to comment.