X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=730bad4683ca31a3e8b611b7526c5fa854553c1e;hb=934411d45748937a481a4387887d051256dfdee0;hp=824730fe94fd1cc129017806844865322c4f3bbf;hpb=b7e454465c4cb7ee3698de9778ed2d4f2d131aa3;p=plcapi.git diff --git a/Makefile b/Makefile index 824730f..730bad4 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ # $Id$ # -# Metafiles - manage Legacy/ and Shortcuts by hand +# Metafiles - manage Legacy/ and Accessors by hand init := PLC/__init__.py PLC/Methods/__init__.py # python-pycurl and python-psycopg2 avail. from fedora 5 @@ -63,7 +63,7 @@ ifneq ($(PLC_now),$(PLC_files)) PLC/__init__.py: force endif PLC/__init__.py: - (echo 'all = """' ; cd PLC; ls -1 *.py | grep -v __init__ | sed -e 's,.py$$,,' ; echo '""".split()') > $@ + (echo '## Please use make index to update this file' ; echo 'all = """' ; cd PLC; ls -1 *.py | grep -v __init__ | sed -e 's,.py$$,,' ; echo '""".split()') > $@ ########## Methods/ # the current content of __init__.py @@ -76,7 +76,7 @@ ifneq ($(METHODS_now),$(METHODS_files)) PLC/Methods/__init__.py: force endif PLC/Methods/__init__.py: - (echo 'native_methods = """' ; cd PLC/Methods; ls -1 *.py system/*.py | grep -v __init__ | sed -e 's,.py$$,,' -e 's,system/,system.,' ; echo '""".split()') > $@ + (echo '## Please use make index to update this file' ; echo 'native_methods = """' ; cd PLC/Methods; ls -1 *.py system/*.py | grep -v __init__ | sed -e 's,.py$$,,' -e 's,system/,system.,' ; echo '""".split()') > $@ ########## force: @@ -119,7 +119,7 @@ ifeq (,$(SSHURL)) @echo " or make sync PLCHOST=testbox1.inria.fr GUEST=vplc03.inria.fr" @exit 1 else - +$(RSYNC) PLC planetlab5.sql migrations $(SSHURL)/usr/share/plc_api/ + +$(RSYNC) plcsh PLC planetlab5.sql migrations $(SSHURL)/usr/share/plc_api/ $(SSHCOMMAND) exec apachectl graceful endif