1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
|
# Copyright (C) 2001 Ian Campbell <ijc@hellion.org.uk>
# $Id: Makefile.in,v 1.5 2001/12/16 12:17:18 ijc Exp $
#
# This file is part of the rep-xmms package.
#
# Parts of this filewere taken from the sawfish Makefile.in
# and are Copyright (C) John Harper 1999.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
include ./Makedefs
top_builddir=.
top_srcdir=@top_srcdir@
srcdir=@srcdir@
VPATH=@srcdir@
SUBDIRS = @SUBDIRS@
all : DOC
set -e; for dir in $(SUBDIRS); do \
[ -d $$dir ] && ( cd $$dir && $(MAKE) $@ ); \
done
install : all
set -e; for dir in $(SUBDIRS); do \
( cd $$dir && $(MAKE) $@ ); \
done
for f in ./DOC*; do \
$(INSTALL_DATA) $$f $(DESTDIR)$(repexecdir)/xmms ; \
done
uninstall :
set -e; for dir in $(SUBDIRS); do \
( cd $$dir && $(MAKE) $@ ); \
done
for f in ./DOC*; do \
rm -f $(DESTDIR)$(repexecdir)/xmms/DOC ; \
done
rmdir $(DESTDIR)$(repexecdir)/xmms
DOC :
repdoc DOC `find $(srcdir) \( -name '*.c' -o -name '*.jl' \) -print`
clean :
-set -e; for dir in $(SUBDIRS); do \
[ -d $$dir ] && ( cd $$dir && $(MAKE) $@ ); \
done
rm -f *~ DOC* TAGS build.h
realclean :
-set -e; for dir in $(SUBDIRS); do \
[ -d $$dir ] && ( cd $$dir && $(MAKE) $@ ); \
done
rm -f config.cache config.h config.log config.status Makedefs Makefile
rm -f *~ DOC* TAGS
distclean : realclean
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
dist: distdir
-chmod -R a+r $(distdir)
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
-rm -rf $(distdir)
distdir:
-rm -rf $(distdir)
mkdir $(distdir)
-chmod 777 $(distdir)
for subdir in $(SUBDIRS); do \
if test "$$subdir" = .; then :; else \
test -d $(distdir)/$$subdir \
|| mkdir $(distdir)/$$subdir \
|| exit 1; \
chmod 777 $(distdir)/$$subdir; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|| exit 1; \
fi; \
done
for file in configure.in configure Makefile.in Makedefs.in \
config.h.in acconfig.h aclocal.m4 config.guess config.sub \
install-sh mkinstalldirs ChangeLog AUTHORS NEWS README \
COPYING rep-xmms.spec rep-xmms.spec.in CREDITS ; do \
cp $$file $(distdir) || exit 1 ; \
done
maintainer-clean: realclean
-rm -f configure
-rm -f aclocal.m4
-rm -f config.h.in
TAGS :
etags --language=c `find $(srcdir) -name '*.[ch]' -print` \
--language=lisp `find $(srcdir) -name '*.jl' -print`
.PHONY: install uninstall tar clean realclean distclean TAGS dist distdir
|