view Makefile.am @ 494:372f8b55506e noffle

[svn] Apply patch from Jan De Luyck. Add new option 'add-messageid-if-missing', which optionally postpones adding a message ID to the upstream server. If this is done, post-locally must be off. This is to deal with an upstream server troubling Jan. It usually (but not always) rejects posts with a Noffle message ID. I have changed Jan's original option of 'add-message-id-if-missing' for consistency with 'replace-messageid' and added the manual page entry. See SourceForge feature request 1513395.
author bears
date Wed, 12 Jul 2006 20:26:41 +0100
parents 29cccddfc307
children
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) -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