Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
00e1dfc0
Commit
00e1dfc0
authored
Oct 28, 2015
by
Kim Nguyễn
Browse files
Cleanup the clean: rule in the makefile.
parent
d47e1a9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile.distrib
View file @
00e1dfc0
...
...
@@ -173,7 +173,7 @@ help:
# Source directories
DIRS_DEPEND
=
misc parser schema typing types compile runtime driver query win32 plugins
CLEAN_DIRS
:=
$(DIRS_DEPEND)
tools tests
CLEAN_DIRS
:=
$(DIRS_DEPEND)
stdlib
tools tests
DIRS
:=
$(DIRS_DEPEND)
$(OCAMLIFACE)
...
...
@@ -423,13 +423,12 @@ compute_depend: $(DEPEND_OCAMLDEP)
clean
:
@
echo
"Clean"
$(HIDE)
for
i
in
$(CLEAN_DIRS)
;
do
\
(
cd
$$
i
;
rm
-f
*
.cmi
*
.cmo
*
.cma
*
.cmx
*
.o
*
.a
*
.cmxa
*
.cmt
*
.cmti
*
~
)
;
\
$(HIDE)
for
i
in
.
$(CLEAN_DIRS)
;
do
\
(
cd
$$
i
;
rm
-f
*
.cmi
*
.cmo
*
.cma
*
.cmx
*
.cmxs
*
.o
*
.a
*
.cmxa
*
.cmt
*
.cmti
*
.cdo
*
~
)
;
\
done
$(HIDE)
rm
-f
misc/q_symbol.cmo.stamp
$(HIDE)
test
-n
"
$(OCAMLIFACE)
"
&&
(
cd
$(OCAMLIFACE)
;
$(MAKE)
clean
)
||
true
$(HIDE)
rm
-f
`
find
.
-name
"*~"
`
$(HIDE)
rm
-f
*
.cmi
*
.cmo
*
.cma
*
.cmx
*
.a
*
.cmxa
*
.cmt
*
.cmti
*
.o
*
~ META .buildflags .buildflags.new
$(HIDE)
rm
-f
META .buildflags .buildflags.new
$(HIDE)
rm
-f
cduce
$(EXE)
ocamlprof.dump
$(HIDE)
rm
-f
cduce
*
js_runtime
*
$(HIDE)
rm
-f
dtd2cduce
$(EXE)
webiface
$(EXE)
evaluator
$(EXE)
...
...
@@ -438,9 +437,7 @@ clean:
$(HIDE)
rm
-f
web/
*
.cdo
$(HIDE)
rm
-f
configure.log
$(HIDE)
rm
-rf
web/doc
$(HIDE)
rm
-f
META
$(HIDE)
rm
-rf
lib
$(HIDE)
rm
-f
stdlib/
*
.cdo
$(HIDE)
rm
-f
tests/schema/regtest/test.cd tests/schema/regtest/test.log
$(HIDE)
rm
-f
tests/schema/test.cd tests/schema/test.log tests/misc/log tests/misc/memento.html tests/xsltmark/log tests/cql/log
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment