### Path settings
datarootdir = @datarootdir@
srcdir = @srcdir@
prefix = @prefix@
mandir = @mandir@
sysconfdir = @sysconfdir@
datadir = @datadir@
exampledir = $(datadir)/examples/conserver

### Installation programs and flags
INSTALL = @INSTALL@
MKDIR = @MKDIR@
@SET_MAKE@


### Makefile rules - no user-servicable parts below

all:

clean:
	rm -f *~ *.o $(ALL) core

distclean: clean
	rm -f Makefile

install:
	$(MKDIR) $(DESTDIR)$(mandir)/man5
	$(INSTALL) -m 0644 conserver.cf.man $(DESTDIR)$(mandir)/man5/conserver.cf.5
	$(INSTALL) -m 0644 conserver.passwd.man $(DESTDIR)$(mandir)/man5/conserver.passwd.5
	$(MKDIR) $(DESTDIR)$(exampledir)
	$(INSTALL) -m 0644 conserver.cf $(DESTDIR)$(exampledir)
	$(INSTALL) -m 0644 conserver.passwd $(DESTDIR)$(exampledir)

.PHONY: clean distclean install
