simpler, just discard the directory and re-create it. Put the cleanup code in dist/s_docs, not src/docs/Makefile
8 lines
100 B
Makefile
8 lines
100 B
Makefile
all:
|
|
@(cd ../../dist && sh s_docs -t)
|
|
|
|
clean:
|
|
@(cd ../../dist && sh s_docs -a)
|
|
|
|
.PHONY: all clean
|