Skip to content

Commit cebbee8

Browse files
committed
makefile: Place changelog & rss feed
1 parent 49f604a commit cebbee8

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Diff for: makefile

+13-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ pages-web := $(pages-web:web/page0.html=)
2525

2626
# The ‘all’ rule references the rules BELOW it (the above are just variable
2727
# definitions, not rules).
28-
all: $(pages-sourcelistings) $(pages-html) style.css $(pages-web) web/index.html web/style.css \
28+
all: $(pages-sourcelistings) $(pages-html) style.css $(pages-web) \
29+
web/index.html web/style.css web/feed.xml web/changelog.html \
2930
page0.info home/bash-scripting-guide.info home/index.html
3031
all: ## Re-generate book (HTML and INFO)
3132

@@ -47,6 +48,17 @@ web/index.html: pages/page0.html
4748
mkdir -p web
4849
sed -e 's~../style.css~style.css~' -e 's~page0~index~' $< > $@
4950

51+
web/changelog.html: changelog.html
52+
mkdir -p web
53+
cp -p -v $< $@
54+
55+
web/feed.xml: feed.xml
56+
mkdir -p web
57+
cp -p -v $< $@
58+
59+
$(pages-changelog): web/%: %
60+
mkdir -p web
61+
5062
# HTML rendering for the web
5163
$(pages-web): web/%.html: pages/%.html
5264
mkdir -p web

0 commit comments

Comments
 (0)