# Generated automatically from Makefile.in by configure.
# Modifications:
#   Carsten Schaar
#       - Make use of the 'autoconf' output variables for installation
#       - Let 'configure' make the GNUStep hierarchy layout stuff

SHELL       = /bin/sh

# paths

srcdir      = .
top_srcdir  = ../..
prefix      = /usr
exec_prefix = /usr

bindir      = ${exec_prefix}/bin
datadir     = ${prefix}/share
libdir      = ${exec_prefix}/lib
infodir     = ${prefix}/info
includedir  = ${prefix}/include

pkgdatadir  = $(datadir)/WindowMaker

# auxiliar paths

hdocdir     = $(pkgdatadir)/Documentation/HTML
pdocdir     = $(pkgdatadir)/Documentation/Postscript
pixmapdir   = ${datadir}/pixmaps
nlsdir      = /usr/lib/locale

# version

include $(top_srcdir)/Version

# programms

RM= rm -f
CP= cp -f

# rules

all: preferences

preferences: preferences.in Makefile
	-$(RM) preferences
	sed -e "s:#pixmapdir#:$(pixmapdir):" preferences.in > preferences

distclean:
	-$(RM) *~ default.style Makefile
	$(CP) style/trad.style default.style
	-$(RM) .rootbg .workspace_state .autodetect preferences
	touch .autodetect
