install:
	install	-d								$(DESTDIR)/etc
	install -d								$(DESTDIR)/usr/share/pxetool/webapp
	install -d								$(DESTDIR)/etc/uwsgi/apps-available
	install -d								$(DESTDIR)/etc/uwsgi/apps-enabled
	install -d								$(DESTDIR)/etc/nginx/sites-available
	install -d								$(DESTDIR)/etc/nginx/sites-enabled
	install -d								$(DESTDIR)/var/lib/tftpboot
	cp -r			$(CURDIR)/pxetool		$(DESTDIR)/usr/share/pxetool/webapp
	install -m644	$(CURDIR)/nginx.conf	$(DESTDIR)/etc/nginx/sites-available/pxetool.conf
	install -m644	$(CURDIR)/uwsgi.yaml	$(DESTDIR)/etc/uwsgi/apps-available/pxetool.yaml
	install -m644	$(CURDIR)/pxelinux.0	$(DESTDIR)/var/lib/tftpboot/pxelinux.0
	install -m400   $(CURDIR)/pxetool.py    $(DESTDIR)/etc/pxetool.py
	cp -r			$(CURDIR)/images		$(DESTDIR)/var/lib/tftpboot/images
	cp -r			$(CURDIR)/pxelinux.cfg	$(DESTDIR)/var/lib/tftpboot/pxelinux.cfg
