view Makefile.am @ 167:7ba337dafb2c noffle

[svn] * TODO,content.c,lock.c,server.c,server.h: Remove bug notice re: need to do a Cont_write on Lock_closeDatabases in case of unwritten content changes when releasing the lock. Update content to keep dirty flag and avoid unnecessary writes, and lock to signal server to re-read its group content info after the lock is released. Do NOT write content info on Lock_close if dirty, as the placeholder article in unsubscribed groups is currently done by adding it to the content when joining the group and deliberately not saving it unless another content modification takes place and thus causes the content to be saved.
author bears
date Sun, 25 Feb 2001 23:29:50 +0000
parents 2842f50feb55
children a34620942998
line wrap: on
line source

# Process this file with automake to produce Makefile.in

SUBDIRS = src docs

EXTRA_DIST = $(PACKAGE).conf.example

install-data-local:
	$(INSTALL) -m 2755 -o news -g news -d $(SPOOLDIR)
	$(INSTALL) -o news -g news -d $(SPOOLDIR)/data
	$(INSTALL) -o news -g news -d $(SPOOLDIR)/lock
	$(INSTALL) -o news -g news -d $(SPOOLDIR)/requested
	$(INSTALL) -o news -g news -d $(SPOOLDIR)/outgoing
	$(INSTALL) -o news -g news -d $(SPOOLDIR)/overview
	chown -R news.news $(SPOOLDIR)
	$(INSTALL) -m 755 -o 0 -g 0 -d $(DOCDIR)
	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/AUTHORS $(DOCDIR)
	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/COPYING $(DOCDIR)
	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/ChangeLog $(DOCDIR)
	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/INSTALL $(DOCDIR)
	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/NEWS $(DOCDIR)
	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/README $(DOCDIR)
	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/TODO $(DOCDIR)
	$(INSTALL_DATA) -o 0 -g 0 $(srcdir)/noffle.conf.example \
                                  /etc/noffle.conf.example
	chown news.news /etc/noffle.conf.example
	chmod 600 /etc/noffle.conf.example
	@echo
	@echo "****************************************************************"
	@echo "You should now copy /etc/noffle.conf.example to /etc/noffle.conf"
	@echo "and edit that copy."
	@echo "****************************************************************"
	@echo

install-exec-local:
	chown news.news $(bindir)/$(PACKAGE)
	chmod 4755 $(bindir)/$(PACKAGE)

uninstall-local:
	rm -f $(DOCDIR)/AUTHORS
	rm -f $(DOCDIR)/COPYING
	rm -f $(DOCDIR)/ChangeLog
	rm -f $(DOCDIR)/INSTALL
	rm -f $(DOCDIR)/NEWS
	rm -f $(DOCDIR)/README
	rm -f $(DOCDIR)/TODO
	rm -f /etc/noffle.conf.example
	@echo
	@echo "****************************************************************"
	@echo "The NOFFLE spool directory $(SPOOLDIR) and the configfile"
	@echo "$(CONFIGFILE) have *not* been removed. Please do this"
	@echo "manually."
	@echo "****************************************************************"
	@echo