mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-17 20:54:39 +03:00
20 lines
629 B
Makefile
Executable File
20 lines
629 B
Makefile
Executable File
all:
|
|
rm -rf public db.json
|
|
node install.js
|
|
rm -rf src/modern-cpp/book
|
|
python3 filter.py
|
|
rm -rf ./src/modern-cpp/assets/cover-2nd.png
|
|
rm -rf ./src/modern-cpp/assets/figures
|
|
cp ../assets/cover-2nd.png ./src/modern-cpp/assets/cover-2nd.png
|
|
cp -r ../assets/figures ./src/modern-cpp/assets/figures
|
|
cp -r ../exercises ./src/modern-cpp/book/
|
|
cp -r ../code ./src/modern-cpp/book/
|
|
hexo generate
|
|
mv public/index.html public/modern-cpp/index.html
|
|
s:
|
|
node_modules/serve/bin/serve.js ./public
|
|
clean:
|
|
rm -rf ./src/modern-cpp/assets/cover-2nd.png
|
|
rm -rf ./src/modern-cpp/assets/figures
|
|
rm -rf public db.json src/modern-cpp/book
|