-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
40 lines (29 loc) · 935 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Makefile for Advanced GTK Techniques
PAGES = \
index.page \
introduction.page \
dynamic-actions.page \
custom-container.page \
real-life-app-setup.page \
autoconf-project.page \
automake-project.page \
desktop-file.page \
gettext-project.page \
real-life-app-writing.page
all: $(PAGES)
%.page: %.page.in add-listings.py
./add-listings.py $< >$@
autoconf-project.page: app-skeleton1/configure.ac
automake-project.page: app-skeleton2/configure.ac app-skeleton2/Makefile.am app-skeleton2/src/Makefile.am
desktop-file.page: app-skeleton3/app-skeleton.desktop app-skeleton3/Makefile.am app-skeleton3/pixmaps/Makefile.am
html: all
mkdir -p html
yelp-build html -o html -x custom.xslt *.page
hmtl: html
# Only works when connected to the internet
# To enable offline, see: http://mimico-tiffany.tumblr.com/post/25656871782
check: all
yelp-check validate *.page
clean:
rm -rf html
.PHONY: all html hmtl check clean