view Makefile.am @ 223:ffb1848a39db noffle

[svn] * src/util.c: Improve (correct) error detection when updating timestamp file. * src/content.h, src/content.c: Return Boolean success/fail from Cont_write. Also ensure cont.first isn't polluted in the event of a failed update. * src/client.c,src/control.c,src/fetch.c,src/noffle.c,src/post.c, src/pseudo.c: If Cont_write fails, don't do actions that need it to have worked. Typically, don't update first and last article numbers in group database. * src/server.c: If groupinfo.lastupdate is unreadable or corrupt, spot this and report it and give an explicit error when processing NNTP NEWGROUPS command.
author bears
date Sun, 09 Dec 2001 12:31:57 +0000
parents a34620942998
children 9fb4b7d7e64b
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 \
                                  $(CONFIGFILE).example
	chown news.news $(CONFIGFILE).example
	chmod 600 $(CONFIGFILE).example
	@echo
	@echo "****************************************************************"
	@echo "You should now copy $(CONFIGFILE).example to $(CONFIGFILE)"
	@echo "and edit that copy."
	@echo "****************************************************************"
	@echo

install-exec-local:
	chown news.news $(bindir)/`echo $(PACKAGE)|sed '$(transform)'`
	chmod 4755 $(bindir)/`echo $(PACKAGE)|sed '$(transform)'`

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 $(CONFIGFILE).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