OpenStack Dashboard (Horizon)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 557B

1234567891011121314151617181920212223
  1. PYTHON=`which python`
  2. DESTDIR=/
  3. PROJECT=horizon
  4. all:
  5. @echo "make source - Create source package"
  6. @echo "make install - Install on local system"
  7. @echo "make buildrpm - Generate a rpm package"
  8. @echo "make clean - Get rid of scratch and byte files"
  9. source:
  10. $(PYTHON) setup.py sdist $(COMPILE)
  11. install:
  12. $(PYTHON) setup.py install --root $(DESTDIR) $(COMPILE)
  13. buildrpm:
  14. $(PYTHON) setup.py bdist_rpm --post-install=rpm/postinstall --pre-uninstall=rpm/preuninstall
  15. clean:
  16. $(PYTHON) setup.py clean
  17. rm -rf build/ MANIFEST
  18. find . -name '*.pyc' -delete