Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
fe2d2cc2
Commit
fe2d2cc2
authored
2 years ago
by
Patrick Baudin
Browse files
Options
Downloads
Patches
Plain Diff
[Makefile] Cleaning share/Makefile.common
parent
1a6056c3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
share/Makefile.common
+0
-39
0 additions, 39 deletions
share/Makefile.common
with
0 additions
and
39 deletions
share/Makefile.common
+
0
−
39
View file @
fe2d2cc2
...
...
@@ -154,53 +154,14 @@ PRINT_HEVEA =$(PRINT) 'Hevea '#
# Tests #
#########
#################
# Documentation #
#################
NATIVE_OCAMLDOC
:=
$(
shell ocamlfind ocamldoc
-v
|
grep
-o
ocamldoc.opt
)
ifeq
("$(NATIVE_OCAMLDOC)","ocamldoc.opt")
DOC_PLUGIN
=
$(
DOC_DIR
)
/docgen.cmxs
else
DOC_PLUGIN
=
$(
DOC_DIR
)
/docgen.cmo
endif
##########################
# Plugin File Generation #
##########################
#take the name of the plugin as argument $(1)
define
include_generic_plugin_Makefile
$(
call
assert_defined,PLUGIN_DIR
)
$(PLUGIN_DIR)/.Makefile.plugin.generated
:
$(MAKECONFIG_DIR)/Makefile.plugin.template
$(
PRINT_MAKING
)
$$
@
$(
SED
)
-e
"s/@PLUGIN_NAME@/
$(
1
)
/g"
$$
<
>
$$
@
# We still clean the old Makefile.plugin.generated (without the dot) temporarily
clean
::
rm
-rf
$(
PLUGIN_DIR
)
/.Makefile.plugin.generated
rm
-rf
$(
PLUGIN_DIR
)
/Makefile.plugin.generated
#We always define this variable because it can't wait the generation
#of the Makefile.plugin.generated since the targets of rules defined in the
#Makefile of the plugins could use this variable
$(1)_DIR
:=
$(
PLUGIN_DIR
)
sinclude
$(PLUGIN_DIR)/.Makefile.plugin.generated
endef
%.check_mli_exists
:
%.mli
touch
$@
.PHONY
:
common_force_rule
%.check_mli_exists
:
common_force_rule
$(
error
"The file '
$*
.mli' must be provided. The simplest workaround is 'touch
$*
.mli'
)
##########################################################################
# Local Variables:
# compile-command: "make"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment