Update debian packaging for new snapshot
* Deal with .pyw file extensions, because distutils doesn't * Remove unnecessary win32-only build files from fpdb/* * Tweak .desktop file for better menu integration * Assume that build happens with python2.6
This commit is contained in:
@@ -23,6 +23,13 @@ install: build
|
||||
dh_installdirs
|
||||
#
|
||||
python setup.py install --root=debian/$(PACKAGE) --prefix=/usr --no-compile
|
||||
# Copy *.pyw manually in packaging tree
|
||||
cp pyfpdb/*.pyw debian/$(PACKAGE)/usr/lib/python2.6/site-packages/fpdb/
|
||||
# Remove scripts that are only useful in win32
|
||||
rm debian/$(PACKAGE)/usr/lib/python2.6/site-packages/fpdb//windows_make_bats.py
|
||||
rm debian/$(PACKAGE)/usr/lib/python2.6/site-packages/fpdb/makeexe.py
|
||||
rm debian/$(PACKAGE)/usr/lib/python2.6/site-packages/fpdb/py2exe_setup.py
|
||||
|
||||
|
||||
binary-indep: build install
|
||||
dh_testdir
|
||||
|
||||
Reference in New Issue
Block a user