@@ -260,7 +260,8 @@ FORCE:
260
260
documentation : $(FILES )
261
261
mkdir -p doc/html
262
262
rm -f doc/html/* .html
263
- coq2html -d doc/html/ -base compcert -short-names doc/* .glob \
263
+ coq2html -d doc/html/ -base compcert -short-names \
264
+ $(patsubst % , % /* .glob, $(DIRS ) ) \
264
265
$(filter-out doc/coq2html cparser/Parser.v, $^)
265
266
266
267
tools/ndfun : tools/ndfun.ml
@@ -283,7 +284,7 @@ latexdoc:
283
284
% .vo : % .v
284
285
@rm -f doc/$(*F ) .glob
285
286
@echo " COQC $* .v"
286
- @$(COQC ) -dump-glob doc/ $( *F ) .glob $* .v
287
+ @$(COQC ) $* .v
287
288
@$(PROFILE_ZIP )
288
289
289
290
% .v : % .vp tools/ndfun
@@ -358,8 +359,7 @@ ifeq ($(INSTALL_COQDEV),true)
358
359
for d in $(DIRS); do \
359
360
set -e; \
360
361
install -d $(DESTDIR)$(COQDEVDIR)/$$d; \
361
- install -m 0644 $$d/*.vo $(DESTDIR)$(COQDEVDIR)/$$d/; \
362
- install -m 0644 $$d/*.v $(DESTDIR)$(COQDEVDIR)/$$d/; \
362
+ install -m 0644 $$d/*.v $$d/*.vo $$d/*.glob $(DESTDIR)$(COQDEVDIR)/$$d/; \
363
363
if test -d $$d/.coq-native; then \
364
364
install -d $(DESTDIR)$(COQDEVDIR)/$$d/.coq-native; \
365
365
install -m 0644 $$d/.coq-native/* $(DESTDIR)$(COQDEVDIR)/$$d/.coq-native/; \
@@ -375,7 +375,8 @@ clean:
375
375
rm -f $(patsubst % , % /* .vo* , $(DIRS ) )
376
376
rm -f $(patsubst % , % /.* .aux, $(DIRS ) )
377
377
rm -rf $(patsubst % , % /.coq-native, $(DIRS ) )
378
- rm -rf doc/html doc/* .glob
378
+ rm -f $(patsubst % , % /* .glob, $(DIRS ) )
379
+ rm -rf doc/html
379
380
rm -f driver/Version.ml
380
381
rm -f compcert.ini compcert.config
381
382
rm -f extraction/STAMP extraction/* .ml extraction/* .mli .depend.extr
0 commit comments