10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-25 22:52:15 +02:00

Change create_module.sh into qp_create_module.sh and so on

This commit is contained in:
Thomas Applencourt 2015-05-04 15:54:51 +02:00
parent df086e5edd
commit c283e6b688
11 changed files with 11 additions and 11 deletions

View File

@ -30,7 +30,7 @@ Build failed for module $MODULE
"
fi
fi
${QPACKAGE_ROOT}/scripts/create/create_gitignore.sh
${QPACKAGE_ROOT}/scripts/module/create_gitignore.sh
cd ${OLDPWD}
done
${QPACKAGE_ROOT}/scripts/create/create_executables_list.sh
${QPACKAGE_ROOT}/scripts/module/create_executables_list.sh

View File

@ -117,7 +117,7 @@ debug "Module directory is created."
# Create the Makefile
"${QPACKAGE_ROOT}/scripts/create/create_Makefile.sh" || fail "Unable to create Makefile"
"${QPACKAGE_ROOT}/scripts/module/create_Makefile.sh" || fail "Unable to create Makefile"
if [[ ! -f Makefile ]]
then
fail "Makefile was not created"
@ -125,7 +125,7 @@ fi
debug "Makefile created"
# Create the NEEDED_MODULES file
"${QPACKAGE_ROOT}/scripts/create/create_Needed_modules.sh" ${NEEDED_MODULES} || fail "Unable to create the NEEDED_MODULES file"
"${QPACKAGE_ROOT}/scripts/module/create_Needed_modules.sh" ${NEEDED_MODULES} || fail "Unable to create the NEEDED_MODULES file"
if [[ ! -f NEEDED_CHILDREN_MODULES ]]
then
fail "NEEDED_MODULES was not created"
@ -135,7 +135,7 @@ debug "NEEDED_MODULES created"
# Create rst templates
"${QPACKAGE_ROOT}/scripts/create/create_rst_templates.sh" || fail "Unable to create rst templates"
"${QPACKAGE_ROOT}/scripts/module/create_rst_templates.sh" || fail "Unable to create rst templates"
# Update module list in main NEEDED_MODULES

View File

@ -28,7 +28,7 @@ fi
# Check if README.rst exists
if [[ ! -f README.rst ]]
then
${QPACKAGE_ROOT}/scripts/create/create_rst_templates.sh
${QPACKAGE_ROOT}/scripts/module/create_rst_templates.sh
error "
README.rst was not present, so I created a
default one for you.
@ -62,7 +62,7 @@ then
fi
# Update Makefile.depend
${QPACKAGE_ROOT}/scripts/create/create_Makefile_depend.sh
${QPACKAGE_ROOT}/scripts/module/create_Makefile_depend.sh
# Update EZFIO interface
${QPACKAGE_ROOT}/scripts/ezfio_interface/ei_handler.py

View File

@ -12,17 +12,17 @@ EZFIO=$(EZFIO_DIR)/lib/libezfio_irp.a
default: ezfio
$(QPACKAGE_ROOT)/scripts/build_modules.sh $(ALL_MODULES)
$(QPACKAGE_ROOT)/scripts/module/build_modules.sh $(ALL_MODULES)
veryclean:
$(QPACKAGE_ROOT)/scripts/clean_modules.sh $(ALL_MODULES)
$(QPACKAGE_ROOT)/scripts/module/clean_modules.sh $(ALL_MODULES)
# Define the dict [type in EZFIO.cfg] = ocaml type , f90 type
# If you change the qptypes_generator.ml, you need to rm this
# For simplicity add this to the veryclean rule
rm $(QPACKAGE_ROOT)/scripts/ezfio_interface/fancy_type.p
rm -f $(QPACKAGE_ROOT)/scripts/ezfio_interface/fancy_type.p
$(ALL_MODULES): ezfio
$(QPACKAGE_ROOT)/scripts/build_modules.sh $@
$(QPACKAGE_ROOT)/scripts/module/build_modules.sh $@
# Define the EZFIO rules
$(EZFIO): $(wildcard $(QPACKAGE_ROOT)/src/*/*.ezfio_config) $(wildcard $(QPACKAGE_ROOT)/src/*/EZFIO.cfg)