Modification du "make system", pour qu'il recopie les données system (les pickle du virtualHost system) dans le répertoire system/data.
Indique à CVS d'ignorer le répertoire system/data.
This commit is contained in:
parent
ff264f4462
commit
6814df7e85
13
Makefile
13
Makefile
|
@ -396,9 +396,11 @@ run-tests:
|
|||
@tests/tests-start
|
||||
|
||||
system:
|
||||
@echo "Cleaning..."
|
||||
@echo "Stopping server for system generation..."
|
||||
@glasnost-system stop || exit 0
|
||||
@echo "Uninstalling server for system generation..."
|
||||
@$(MAKE) GLASNOST=glasnost-system PORT=8600 uninstall
|
||||
@ echo "Erasing system generation data..."
|
||||
rm -rf /var/lib/glasnost-system
|
||||
@$(MAKE) GLASNOST=glasnost-system PORT=8600 dist-clean
|
||||
@echo "Configuring files for system generation..."
|
||||
|
@ -413,8 +415,13 @@ system:
|
|||
@glasnost-system-make-system localhost
|
||||
@echo "Stopping server for system generation..."
|
||||
@glasnost-system stop
|
||||
#@echo "Uninstalling server for system generation..."
|
||||
#@$(MAKE) GLASNOST=glasnost-system PORT=8600 uninstall
|
||||
@echo "Copying system data into system/data..."
|
||||
rm -rf system/data
|
||||
cp -pr /var/lib/glasnost-system/system system/data
|
||||
@echo "Uninstalling server for system generation..."
|
||||
@$(MAKE) GLASNOST=glasnost-system PORT=8600 uninstall
|
||||
@ echo "Erasing system generation data..."
|
||||
rm -rf /var/lib/glasnost-system
|
||||
|
||||
tests: uninstall-tests \
|
||||
install-tests \
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
data
|
||||
*.pyc
|
||||
|
|
Reference in New Issue