EXTRA_DIST = FAQ UPGRADE srvx.conf.example sockcheck.conf.example
SUBDIRS = @MY_SUBDIRS@
DIST_SUBDIRS = src rx

all: srvx

srvx: src/srvx
	cp ./src/srvx $(srcdir)/src/*.help .

install-exec-local:
	$(INSTALL) -d -m 755 $(prefix)
	$(INSTALL) -m 744 ./src/srvx $(prefix)
	$(INSTALL) -m 644 $(srcdir)/src/*.help $(prefix)
	$(INSTALL) -m 600 $(srcdir)/srvx.conf.example $(prefix)
	$(INSTALL) -m 644 $(srcdir)/sockcheck.conf.example $(prefix)
	@echo
	@echo srvx-$(VERSION) has been installed to $(prefix)
	@echo Remember to edit srvx.conf.example and sockcheck.conf.example
	@echo And of course, ./srvx --help before starting.
	@echo


syntax highlighted by Code2HTML, v. 0.9.1