Mercurial > noffle
changeset 44:bb6a1bf61279 noffle
[svn] Oops. Forgot three files in my last commit:
* Removed Makefile.
* Added docs/Makefile.am and docs/Makefile.in
author | uh1763 |
---|---|
date | Fri, 05 May 2000 22:50:13 +0100 |
parents | 2842f50feb55 |
children | 32ba1198c6fa |
files | Makefile docs/Makefile.am docs/Makefile.in |
diffstat | 3 files changed, 286 insertions(+), 83 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Fri May 05 22:45:56 2000 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,83 +0,0 @@ -############################################################################### -# -# Makefile for Noffle news server -# -# $Id: Makefile 44 2000-05-05 07:23:15Z enz $ -# -############################################################################### - -SPOOLDIR = /var/spool/noffle -PREFIX = /usr/local - -CONFIGFILE = /etc/noffle.conf -BINDIR = $(PREFIX)/bin -MANDIR = $(PREFIX)/man -DOCDIR = $(PREFIX)/doc/noffle - -CC = gcc -CFLAGS = -Wall -O -g -#CFLAGS = -Wall -g -DDEBUG - -VERSION = 1.0pre5develop - -FILESH = client.h common.h config.h content.h control.h database.h \ - dynamicstring.h fetch.h fetchlist.h group.h itemlist.h lock.h log.h \ - online.h outgoing.h over.h post.h protocol.h pseudo.h request.h \ - server.h util.h wildmat.h - -FILESC = fetch.c client.c config.c content.c control.c database.c \ - dynamicstring.c fetchlist.c group.c itemlist.c lock.c log.c noffle.c \ - online.c outgoing.c over.c post.c protocol.c pseudo.c request.c \ - server.c util.c wildmat.c - -OBJS = $(patsubst %.c,%.o,$(FILESC)) - -all: noffle - -noffle: $(OBJS) - $(CC) $(CFLAGS) -o noffle $(OBJS) -lgdbm - -config.o: config.c config.h Makefile - $(CC) $(CFLAGS) -c -DSPOOLDIR=\"$(SPOOLDIR)\" \ - -DVERSION=\"$(VERSION)\" -DCONFIGFILE=\"$(CONFIGFILE)\" config.c - -log.o: log.c log.h Makefile - -depend: - gcc -MM -MG -E $(FILESC) >depend - -clean: - rm -f depend $(OBJS) noffle - -install: noffle - install -o 0 -g 0 -d $(RPM_BUILD_ROOT)$(BINDIR) - install -m 4755 -o news -g news noffle $(RPM_BUILD_ROOT)$(BINDIR) - install -o 0 -g 0 -d $(RPM_BUILD_ROOT)$(MANDIR)/man1 - install -m 0644 -o 0 -g 0 noffle.1 \ - $(RPM_BUILD_ROOT)$(MANDIR)/man1/noffle.1 - install -o 0 -g 0 -d $(RPM_BUILD_ROOT)$(MANDIR)/man5 - install -m 0644 -o 0 -g 0 noffle.conf.5 \ - $(RPM_BUILD_ROOT)$(MANDIR)/man5/noffle.conf.5 - install -m 2755 -o news -g news -d $(RPM_BUILD_ROOT)$(SPOOLDIR) - install -o news -g news -d $(RPM_BUILD_ROOT)$(SPOOLDIR)/data - install -o news -g news -d $(RPM_BUILD_ROOT)$(SPOOLDIR)/lock - install -o news -g news -d $(RPM_BUILD_ROOT)$(SPOOLDIR)/requested - install -o news -g news -d $(RPM_BUILD_ROOT)$(SPOOLDIR)/outgoing - install -o news -g news -d $(RPM_BUILD_ROOT)$(SPOOLDIR)/overview - install -o 0 -g 0 -d $(RPM_BUILD_ROOT)$(DOCDIR) - install -m 0644 -o 0 -g 0 README.html $(RPM_BUILD_ROOT)$(DOCDIR) - install -m 0644 -o 0 -g 0 NOTES.html $(RPM_BUILD_ROOT)$(DOCDIR) - install -m 0644 -o 0 -g 0 INSTALL.html $(RPM_BUILD_ROOT)$(DOCDIR) - install -m 0644 -o 0 -g 0 CHANGELOG.html $(RPM_BUILD_ROOT)$(DOCDIR) - install -m 0644 -o 0 -g 0 FAQ.html $(RPM_BUILD_ROOT)$(DOCDIR) - install -m 0644 -o 0 -g 0 COPYING.html $(RPM_BUILD_ROOT)$(DOCDIR) - install -m 0644 -o 0 -g 0 noffle.conf.example \ - $(RPM_BUILD_ROOT)$(DOCDIR) - chown -R news.news $(RPM_BUILD_ROOT)$(SPOOLDIR) - @echo - @echo Read INSTALL.html for further instructions. - -tags: - ctags -e $(FILESC) $(FILESH) - --include depend
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/Makefile.am Fri May 05 22:50:13 2000 +0100 @@ -0,0 +1,17 @@ +# Process this file with automake to produce Makefile.in + +man_MANS = $(PACKAGE).1 $(PACKAGE).conf.5 + +EXTRA_DIST = FAQ NOTES ${man_MANS} $(PACKAGE).lsm + +install-data-local: + $(INSTALL) -o 0 -g 0 -d $(DOCDIR) + $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/FAQ $(DOCDIR) + $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/NOTES $(DOCDIR) + $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/$(PACKAGE).lsm $(DOCDIR) + +uninstall-local: + rm -f $(DOCDIR)/FAQ + rm -f $(DOCDIR)/NOTES + rm -f $(DOCDIR)/$(PACKAGE).lsm +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/Makefile.in Fri May 05 22:50:13 2000 +0100 @@ -0,0 +1,269 @@ +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +# Process this file with automake to produce Makefile.in + + +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ + +top_builddir = .. + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +CC = @CC@ +CONFIGFILE = @CONFIGFILE@ +DOCDIR = @DOCDIR@ +MAKEINFO = @MAKEINFO@ +PACKAGE = @PACKAGE@ +SPOOLDIR = @SPOOLDIR@ +VERSION = @VERSION@ + +man_MANS = $(PACKAGE).1 $(PACKAGE).conf.5 + +EXTRA_DIST = FAQ NOTES ${man_MANS} $(PACKAGE).lsm +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = ../config.h +CONFIG_CLEAN_FILES = +man1dir = $(mandir)/man1 +man5dir = $(mandir)/man5 +MANS = $(man_MANS) + +NROFF = nroff +DIST_COMMON = Makefile.am Makefile.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = tar +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + + +install-man1: + $(mkinstalldirs) $(DESTDIR)$(man1dir) + @list='$(man1_MANS)'; \ + l2='$(man_MANS)'; for i in $$l2; do \ + case "$$i" in \ + *.1*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ + else file=$$i; fi; \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ + done + +uninstall-man1: + @list='$(man1_MANS)'; \ + l2='$(man_MANS)'; for i in $$l2; do \ + case "$$i" in \ + *.1*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ + rm -f $(DESTDIR)$(man1dir)/$$inst; \ + done + +install-man5: + $(mkinstalldirs) $(DESTDIR)$(man5dir) + @list='$(man5_MANS)'; \ + l2='$(man_MANS)'; for i in $$l2; do \ + case "$$i" in \ + *.5*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ + else file=$$i; fi; \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \ + done + +uninstall-man5: + @list='$(man5_MANS)'; \ + l2='$(man_MANS)'; for i in $$l2; do \ + case "$$i" in \ + *.5*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " rm -f $(DESTDIR)$(man5dir)/$$inst"; \ + rm -f $(DESTDIR)$(man5dir)/$$inst; \ + done +install-man: $(MANS) + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-man1 install-man5 +uninstall-man: + @$(NORMAL_UNINSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-man1 uninstall-man5 +tags: TAGS +TAGS: + + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +subdir = docs + +distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu docs/Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: +install-exec: install-exec-am + +install-data-am: install-man install-data-local +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: uninstall-man uninstall-local +uninstall: uninstall-am +all-am: Makefile $(MANS) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-generic clean-am + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-generic distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + +.PHONY: install-man1 uninstall-man1 install-man5 uninstall-man5 \ +install-man uninstall-man tags distdir info-am info dvi-am dvi check \ +check-am installcheck-am installcheck install-exec-am install-exec \ +install-data-local install-data-am install-data install-am install \ +uninstall-local uninstall-am uninstall all-redirect all-am all \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +install-data-local: + $(INSTALL) -o 0 -g 0 -d $(DOCDIR) + $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/FAQ $(DOCDIR) + $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/NOTES $(DOCDIR) + $(INSTALL_DATA) -o 0 -g 0 $(srcdir)/$(PACKAGE).lsm $(DOCDIR) + +uninstall-local: + rm -f $(DOCDIR)/FAQ + rm -f $(DOCDIR)/NOTES + rm -f $(DOCDIR)/$(PACKAGE).lsm + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: