install: all
python setup.py install --prefix=${PREFIX}
- cd bsr && python setup.py install --install-scripts=/usr/local/bin --prefix=/usr/local && cd ..
+ cd bsr && python setup.py install --prefix=${PREFIX} && cd ..
clean:
rm -rf {build/,dist/,*.egg-info/}
-usr/local/lib/python*/*packages/bsr/*.py
-usr/local/lib/python*/*packages/bsr/analyzer/*.py
-usr/local/lib/python*/*packages/bsr/gbs/*.py
-usr/local/lib/python*/*packages/bsr/network/*.py
-usr/local/lib/python*/*packages/bsr/report/*.py
-usr/local/lib/python*/*packages/bsr/utility/*.py
-usr/local/lib/python*/*packages/bsr/web_dist/*
-usr/local/bin/bsr
+usr/lib/python*/*packages/bsr/*.py
+usr/lib/python*/*packages/bsr/analyzer/*.py
+usr/lib/python*/*packages/bsr/gbs/*.py
+usr/lib/python*/*packages/bsr/network/*.py
+usr/lib/python*/*packages/bsr/report/*.py
+usr/lib/python*/*packages/bsr/utility/*.py
+usr/lib/python*/*packages/bsr/web_dist/*
+usr/bin/bsr
override_dh_auto_install:
python setup.py install --root=debian/tmp --prefix=/usr
make man
- cd bsr && python setup.py install --install-scripts=/usr/local/bin --root=../debian/tmp --prefix=/usr/local && cd ..
+ cd bsr && python setup.py install --root=../debian/tmp --prefix=/usr && cd ..
mkdir -p debian/tmp/usr/share/man/man1
mkdir -p debian/tmp/usr/share/gbs
install -m644 docs/gbs.1 debian/tmp/usr/share/man/man1