10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-09-12 06:08:30 +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
fi fi
${QPACKAGE_ROOT}/scripts/create/create_gitignore.sh ${QPACKAGE_ROOT}/scripts/module/create_gitignore.sh
cd ${OLDPWD} cd ${OLDPWD}
done 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 # 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 ]] if [[ ! -f Makefile ]]
then then
fail "Makefile was not created" fail "Makefile was not created"
@ -125,7 +125,7 @@ fi
debug "Makefile created" debug "Makefile created"
# Create the NEEDED_MODULES file # 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 ]] if [[ ! -f NEEDED_CHILDREN_MODULES ]]
then then
fail "NEEDED_MODULES was not created" fail "NEEDED_MODULES was not created"
@ -135,7 +135,7 @@ debug "NEEDED_MODULES created"
# Create rst templates # 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 # Update module list in main NEEDED_MODULES

View File

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

View File

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