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
|
# Makefile.in for sawmill version 4
# Copyright (C) 1998 John Harper <john@dcs.warwick.ac.uk>
# $Id: Makefile.in,v 1.31 2003/04/03 02:24:42 jsh Exp $
#
# This file is part of sawmill.
#
# sawmill 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, or (at your option)
# any later version.
#
# sawmill 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 sawmill; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
include ./Makedefs
top_builddir=.
top_srcdir=@top_srcdir@
srcdir=@srcdir@
VPATH=@srcdir@
SUBDIRS = @SUBDIRS@
OLD_BINARIES = sawmill sawmill-client sawmill-capplet sawmill-ui sawmill-themer
all : build.h DOC NEWS FAQ
for dir in $(SUBDIRS); do \
[ -d $$dir ] && ( cd $$dir && $(MAKE) $@ ) || exit 1; \
done
# this depends on config.status so it's rebuilt if configure is re-run
build.h : build-info config.status
$(SHELL) $< $(host_type) $(version)$(subversion) \
'$(sawfishdir)' '$(lispdir)' '$(sawfishexecdir)' '$(localedir)'
install : all installdirs
for dir in $(SUBDIRS); do \
( cd $$dir && $(MAKE) $@ ) || exit 1; \
done
for f in ./DOC*; do \
$(INSTALL_DATA) $$f $(DESTDIR)$(sawfishexecdir); \
done
rm -f $(DESTDIR)$(GNOMEDIR)/share/gnome/wm-properties/Sawmill.desktop
$(INSTALL_DATA) $(srcdir)/Sawfish.desktop \
$(DESTDIR)$(GNOMEDIR)/share/gnome/wm-properties
-for f in $(OLD_BINARIES); do \
if [ -x $(DESTDIR)$(bindir)/$$f ]; then \
rm -f $(DESTDIR)$(bindir)/$$f; \
$(INSTALL_SCRIPT) $(srcdir)/moved $(DESTDIR)$(bindir)/$$f; \
fi \
done
installdirs : mkinstalldirs
$(SHELL) $< $(DESTDIR)$(sawfishdir)/$(version) \
$(DESTDIR)$(bindir) $(DESTDIR)$(sawfishexecdir) \
$(DESTDIR)$(GNOMEDIR)/share/gnome/wm-properties
uninstall :
for dir in $(SUBDIRS); do \
( cd $$dir && $(MAKE) $@ ) || exit 1; \
done
rm -rf $(DESTDIR)$(sawfishdir)/$(version)
DOC :
repdoc DOC `find $(srcdir) \( -name '*.c' -o -name '*.jl' \) -print`
NEWS : man/news.texi
(cd man && $(MAKE) ../NEWS )
FAQ : man/faq.texi
(cd man && $(MAKE) ../FAQ )
clean :
-for dir in $(SUBDIRS); do \
[ -d $$dir ] && ( cd $$dir && $(MAKE) $@ ) || exit 1; \
done
rm -f *~ NEWS DOC* TAGS build.h
realclean :
-for dir in $(SUBDIRS); do \
[ -d $$dir ] && ( cd $$dir && $(MAKE) $@ ) || exit 1; \
done
rm -f config.cache config.h config.log config.status Makedefs Makefile
rm -f *~ TAGS build.h sawfish.spec
distclean : realclean
TAGS :
etags --language=c `find $(srcdir) -name '*.[ch]' -print` \
--language=lisp `find $(srcdir) -name '*.jl' -print`
.PHONY: install uninstall tar clean realclean distclean TAGS
|