view Makefile @ 1207:c461cb49fc55 trunk

[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)
author nenolod
date Wed, 14 Jun 2006 00:07:04 -0700
parents 44d8008500a3
children 8014500e2c37
line wrap: on
line source

.SILENT:

include mk/rules.mk
include mk/objective.mk

SUBDIRS = Plugins libaudacious intl $(SUBDIR_GUESS) audacious audtool po icons skin

mk/rules.mk:
	@echo "[building rules.mk for posix target, run configure manually if you do not want this]"
	@sh configure
	@echo "[complete]"

install-posthook:
	@if test `whoami` = 'root' && test -z "$(DESTDIR)"; then \
		echo "[running ldconfig to update system library cache]"; \
		/sbin/ldconfig; \
		echo "[system library cache updated]"; \
	fi

OBJECTIVE_DATA =							\
	audacious.pc:$(LIBDIR)/pkgconfig				\
	audacious.1:$(mandir)/man1					\
	audacious/audacious.desktop:$(datadir)/applications