view Makefile.am @ 259:b660fadc1814 noffle

[svn] * src/server.c,src/util.c,src/util.h: Recognise GMT/UTC on NNTP NEWGROUPS. Do small reorg of some of the timezone sensitive code, and introduce use of timegm(). An implementation is provided for systems without timegm().
author bears
date Wed, 26 Jun 2002 14:30:26 +0100
parents d6e02253fb76
children 6443163104a8
line wrap: on
line source

# Process this file with automake to produce Makefile.in

SUBDIRS = src docs packages

EXTRA_DIST = $(PACKAGE).conf.example

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

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

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