annotate Makefile @ 3535:9ddf21ab5c84 trunk

Transit to Mk2.
author William Pitcock <nenolod@atheme.org>
date Mon, 17 Sep 2007 13:10:19 -0500
parents 774cc92d936e
children 625af2797f35
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
1 DISTCLEAN = extra.mk
1207
c461cb49fc55 [svn] - if mk/rules.mk is missing, run configure to generate it (hopefully you are running the posix target, otherwise I feel sorry for you)
nenolod
parents: 1206
diff changeset
2
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
3 include buildsys.mk
1206
44d8008500a3 [svn] - core makefile
nenolod
parents:
diff changeset
4
2323
a7a52cbc08fc [svn] - move manpages to subdir man/
nenolod
parents: 2313
diff changeset
5 SUBDIRS = src man po icons skins
1206
44d8008500a3 [svn] - core makefile
nenolod
parents:
diff changeset
6
44d8008500a3 [svn] - core makefile
nenolod
parents:
diff changeset
7 OBJECTIVE_DATA = \
3114
774cc92d936e Add a pkg-config for audclient.
William Pitcock <nenolod@atheme-project.org>
parents: 2419
diff changeset
8 audacious.pc:$(LIBDIR)/pkgconfig \
774cc92d936e Add a pkg-config for audclient.
William Pitcock <nenolod@atheme-project.org>
parents: 2419
diff changeset
9 audclient.pc:$(LIBDIR)/pkgconfig
1615
e402e0217870 [svn] - fix for the long-standing dependency oddness in our build system. now make tool surely picks up changed source files and builds required objectives.
yaz
parents: 1451
diff changeset
10
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
11 install-extra:
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
12 y="audacious.pc audclient.pc"; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
13 for i in $$y; do \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
14 ${INSTALL_STATUS}; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
15 if ${MKDIR_P} ${DESTDIR}${libdir}/pkgconfig && ${INSTALL} -m 644 $$i ${DESTDIR}${libdir}/pkgconfig/$$i; then \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
16 ${INSTALL_OK}; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
17 else \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
18 ${INSTALL_FAILED}; \
2033
34299070db29 [svn] - make documentation-build will invoke gtk-doc to compile the audacious SDK docs.
nenolod
parents: 1879
diff changeset
19 fi; \
3535
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
20 done
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
21
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
22 uninstall-extra:
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
23 y="audacious.pc audclient.pc"; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
24 for i in $$y; do \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
25 if [ -f ${DESTDIR}${libdir}/pkgconfig/$$i ]; then \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
26 if rm -f ${DESTDIR}${libdir}/pkgconfig/$$i; then \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
27 ${DELETE_OK}; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
28 else \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
29 ${DELETE_FAILED}; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
30 fi \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
31 fi; \
9ddf21ab5c84 Transit to Mk2.
William Pitcock <nenolod@atheme.org>
parents: 3114
diff changeset
32 done