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:
eraviart 2003-04-14 17:01:54 +00:00
parent ff264f4462
commit 6814df7e85
2 changed files with 11 additions and 3 deletions

View File

@ -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 \

View File

@ -1 +1,2 @@
data
*.pyc