Add the setup.py to make install

This commit is contained in:
mathieui 2013-05-26 21:06:17 +02:00
parent e6d116ade5
commit 2641996468

View file

@ -17,10 +17,9 @@ clean:
rm -r doc/build/
install: all
python3 setup.py install --root=$(DESTDIR) --optimize=1
mkdir -p $(DESTDIR)$(prefix) $(DESTDIR)$(DOCDIR)/poezio/ $(DESTDIR)$(LOCALEDIR) $(DESTDIR)$(BINDIR)
cp -R doc/* $(DESTDIR)$(DOCDIR)/poezio/
cp README CHANGELOG COPYING $(DESTDIR)$(DOCDIR)/poezio/
uninstall: