view Makefile.am @ 255:52f467c7213b noffle

[svn] * docs/noffle.1,src/Makefile.am,src/Makefile.in,src/content.c, src/content.h,src/database.c,src/database.h,src/expire.c, src/expire.h,src/noffle.c: Split out expire code from database.c, change to remove articles in place (rather than rebuild article database) and add separate command to rebuild article database from articles listed in overviews. This may help if the article database gets corrupted.
author bears
date Wed, 26 Jun 2002 14:15:44 +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