view Makefile @ 1208:8014500e2c37 trunk

[svn] - shut a make error up by using sinclude instead of normal include when rules.mk doesn't exist yet
author nenolod
date Wed, 14 Jun 2006 00:14:13 -0700
parents c461cb49fc55
children e67fad649f58
line wrap: on
line source

.SILENT:

sinclude 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