| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
ALL_TARGETS := body-end.html body-begin.html head.html images castle-engine-website-base |
| 10 |
|
| 11 |
.PHONY: default |
| 12 |
default: $(ALL_TARGETS) |
| 13 |
|
| 14 |
.PHONY: clean |
| 15 |
clean: |
| 16 |
rm -Rf $(ALL_TARGETS) |
| 17 |
|
| 18 |
%.html: %.php |
| 19 |
php $< > $@ |
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
CGE_WWW_PATH := ../../../../cge-www/ |
| 24 |
|
| 25 |
images: |
| 26 |
rm -Rf images |
| 27 |
mkdir -p images |
| 28 |
cp -Rf $(CGE_WWW_PATH)htdocs/images/header_icon.png \ |
| 29 |
$(CGE_WWW_PATH)htdocs/images/patreon-brand \ |
| 30 |
images/ |
| 31 |
|
| 32 |
|
| 33 |
cp -f $(CGE_WWW_PATH)htdocs/images/not_resized_original/castle_game_engine_icon.png \ |
| 34 |
images/ |
| 35 |
cp -f $(CGE_WWW_PATH)htdocs/images/not_resized_original/castle_game_engine_icon_fit_in_square.png \ |
| 36 |
images/ |
| 37 |
|
| 38 |
castle-engine-website-base: |
| 39 |
rm -Rf castle-engine-website-base |
| 40 |
mkdir -p castle-engine-website-base |
| 41 |
cp -Rf $(CGE_WWW_PATH)htdocs/castle-engine-website-base/castle-engine.css \ |
| 42 |
$(CGE_WWW_PATH)htdocs/castle-engine-website-base/castle-asciidoctor.css \ |
| 43 |
$(CGE_WWW_PATH)htdocs/castle-engine-website-base/castle-engine.js \ |
| 44 |
$(CGE_WWW_PATH)htdocs/castle-engine-website-base/node_modules \ |
| 45 |
castle-engine-website-base/ |