2001-09-09 22:55:41 -04:00
|
|
|
## Process this with automake to create Makefile.in
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
|
2005-08-20 14:45:04 -04:00
|
|
|
EXTRA_DIST = icecast.xml.in icecast_minimal.xml.in icecast_shoutcast_compat.xml.in icecast_urlauth.xml.in
|
|
|
|
DISTCLEANFILES = icecast.xml.dist icecast_minimal.xml.dist icecast_shoutcast_compat.xml.dist icecast_urlauth.xml.dist
|
2003-06-17 17:10:56 -04:00
|
|
|
|
2003-06-20 00:01:31 -04:00
|
|
|
docdir = $(datadir)/$(PACKAGE)/doc
|
2005-08-20 14:45:04 -04:00
|
|
|
doc_DATA = icecast.xml.dist icecast_minimal.xml.dist icecast_shoutcast_compat.xml.dist icecast_urlauth.xml.dist
|
2003-06-20 00:01:31 -04:00
|
|
|
|
|
|
|
install-data-hook:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
|
|
|
|
test -f $(DESTDIR)$(sysconfdir)/icecast.xml || \
|
|
|
|
$(INSTALL_DATA) icecast.xml.dist $(DESTDIR)$(sysconfdir)/icecast.xml
|
2003-06-17 17:10:56 -04:00
|
|
|
|
|
|
|
edit = sed -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
|
|
|
|
-e 's,@localstatedir\@,$(localstatedir),g' \
|
|
|
|
-e 's,@PACKAGE\@,$(PACKAGE),g'
|
|
|
|
|
2003-06-20 00:01:31 -04:00
|
|
|
icecast.xml.dist: $(srcdir)/icecast.xml.in
|
|
|
|
$(edit) $(srcdir)/icecast.xml.in > icecast.xml.dist
|
2001-09-09 22:55:41 -04:00
|
|
|
|
2004-11-11 10:47:33 -05:00
|
|
|
icecast_minimal.xml.dist: $(srcdir)/icecast_minimal.xml.in
|
|
|
|
$(edit) $(srcdir)/icecast_minimal.xml.in > icecast_minimal.xml.dist
|
|
|
|
|
|
|
|
icecast_shoutcast_compat.xml.dist: $(srcdir)/icecast_shoutcast_compat.xml.in
|
|
|
|
$(edit) $(srcdir)/icecast_shoutcast_compat.xml.in > icecast_shoutcast_compat.xml.dist
|
|
|
|
|
2005-08-20 14:45:04 -04:00
|
|
|
icecast_urlauth.xml.dist: $(srcdir)/icecast_urlauth.xml.in
|
|
|
|
$(edit) $(srcdir)/icecast_urlauth.xml.in > icecast_urlauth.xml.dist
|
|
|
|
|
2001-09-09 22:55:41 -04:00
|
|
|
debug:
|
2002-08-09 11:55:02 -04:00
|
|
|
$(MAKE) all CFLAGS="@DEBUG@"
|
2001-09-09 22:55:41 -04:00
|
|
|
|
|
|
|
profile:
|
2002-08-09 11:55:02 -04:00
|
|
|
$(MAKE) all CFLAGS="@PROFILE@"
|
2001-09-09 22:55:41 -04:00
|
|
|
|