view Makefile.am @ 357:b0ee77fa24d4 noffle

[svn] * src/post.c,src/configfile.c,src/configfile.h,docs/noffle.conf.5, noffle.conf.example,TODO: Added a config value to specify whether a Reply-To header should be appended to messages posted without it. Also made the new option show up in the noffle.conf manpage and the initial example configuration shipped with the package.
author bears
date Mon, 24 Mar 2003 23:32:48 +0000
parents 6443163104a8
children 29cccddfc307
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 06755 -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 0755 -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 0640 $(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 06755 $(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