Skip to content

Commit

Permalink
[FIX] debian packaging: removed old Makefile + fixed addons path reso…
Browse files Browse the repository at this point in the history
…lution

bzr revid: [email protected]
  • Loading branch information
odony committed Jan 17, 2011
1 parent 61bafa2 commit dd73fb1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 46 deletions.
43 changes: 0 additions & 43 deletions Makefile

This file was deleted.

8 changes: 5 additions & 3 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/make -f

EXTRA_MODULES_PATH ?= ../addons

%:
dh ${@}

Expand All @@ -10,13 +12,13 @@ override_dh_auto_clean:

override_dh_auto_install:
# Adding ALL addons to the server package
if [ -d ../addons ] ; then \
pushd ../addons ; \
if [ -d "${EXTRA_MODULES_PATH}" ] ; then \
cd ${EXTRA_MODULES_PATH} ; \
echo > server_modules.list ; \
for ADD_DIR in * ; do \
[ -d "$$ADD_DIR" ] && [ -r "$$ADD_DIR"/__openerp__.py ] && echo "$$ADD_DIR" >> server_modules.list ; \
done ; \
popd ; fi
fi
NO_CHECK_MODULES=1 python setup.py install --install-layout=deb --no-compile --root=$(CURDIR)/debian/openerp-server

# Adjusting program location
Expand Down

0 comments on commit dd73fb1

Please sign in to comment.