Revision a165d451
Ajout commande "serve" au Makefile
Permet de lancer une instance locale de GLPI (à des fins de test/dév).
Change-Id: Ibe3d947929320492c7c923efc2eba1873475df0a
Makefile | ||
---|---|---|
1 | 1 |
NAME = glpi |
2 |
php := $(shell which php) |
|
2 | 3 |
|
3 | 4 |
all: |
4 | 5 |
|
... | ... | |
34 | 35 |
|
35 | 36 |
doc: sphinxdoc |
36 | 37 |
|
37 |
.PHONY: all install install_pkg clean man doc |
|
38 |
serve: |
|
39 |
$(php) -S 0.0.0.0:8080 -t src |
|
40 |
|
|
41 |
.PHONY: all install install_pkg clean man doc serve |
Also available in: Unified diff