# Makefile.in -- input for the themer directory's Makefile # $Id: Makefile.in,v 1.5 2000/07/28 17:45:08 john Exp $ # # Copyright (C) 1999 John Harper # # 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@:@top_srcdir@ SUBSTS := -e "s|__version__|$(version)|" \ -e "s|__sawfishdir__|$(sawfishdir)|" \ -e "s|__locale_dir__|$(localedir)|" all : themer.jlc themer.jl : themer.in ../Makedefs sed $(SUBSTS) $< >$@ %.jlc : %.jl $(REP_ENVIRON) rep compiler -f compile-batch $< install : all installdirs $(INSTALL_SCRIPT) themer.jlc $(DESTDIR)$(bindir)/sawfish-themer $(INSTALL_DATA) $(srcdir)/themer.glade $(DESTDIR)$(sawfishdir)/$(version) uninstall : rm -f $(DESTDIR)${bindir}/sawfish-themer rm -f $(DESTDIR)$(sawfishdir)/$(version)/themer.glade installdirs : mkinstalldirs $(SHELL) $< $(DESTDIR)$(bindir) $(DESTDIR)$(sawfishdir)/$(version) clean : rm -f *~ themer.jl *.jlc *.bak core realclean : clean rm -f Makefile