comparison Makefile @ 1615:e402e0217870 trunk

[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.
author yaz
date Mon, 04 Sep 2006 19:47:32 -0700
parents abf8fee03d59
children 8d7f4260022d
comparison
equal deleted inserted replaced
1614:9b4678a2efc9 1615:e402e0217870
1 .SILENT: 1 .SILENT:
2 2
3 sinclude mk/rules.mk 3 sinclude mk/rules.mk
4 include mk/objective.mk 4 include mk/init.mk
5 5
6 SUBDIRS = Plugins libaudacious intl $(SUBDIR_GUESS) sqlite audacious audtool po icons skin 6 SUBDIRS = Plugins libaudacious intl $(SUBDIR_GUESS) sqlite audacious audtool po icons skin
7
8 include mk/objective.mk
7 9
8 install-posthook: 10 install-posthook:
9 @if test `whoami` = 'root' && test -z "$(DESTDIR)"; then \ 11 @if test `whoami` = 'root' && test -z "$(DESTDIR)"; then \
10 echo "[running ldconfig to update system library cache]"; \ 12 echo "[running ldconfig to update system library cache]"; \
11 /sbin/ldconfig; \ 13 /sbin/ldconfig; \
14 16
15 OBJECTIVE_DATA = \ 17 OBJECTIVE_DATA = \
16 audacious.pc:$(LIBDIR)/pkgconfig \ 18 audacious.pc:$(LIBDIR)/pkgconfig \
17 audacious.1:$(mandir)/man1 \ 19 audacious.1:$(mandir)/man1 \
18 audacious/audacious.desktop:$(datadir)/applications 20 audacious/audacious.desktop:$(datadir)/applications
21