-#
-# Makefile for the Squid Object Cache server
-#
-# $Id$
-#
-# Uncomment and customize the following to suit your needs:
-#
+## Copyright (C) 1996-2018 The Squid Software Foundation and contributors
+##
+## Squid software is distributed under GPLv2+ license and includes
+## contributions from numerous individuals and organizations.
+## Please see the COPYING and CONTRIBUTORS files for details.
+##
+
+SUBDIRS = manuals release-notes
DEFAULT_CONFIG_FILE = $(sysconfdir)/squid.conf
-DEFAULT_CACHEMGR_CONFIG = $(sysconfdir)/cachemgr.conf
DEFAULT_MIME_TABLE = $(sysconfdir)/mime.conf
DEFAULT_ERROR_DIR = $(datadir)/errors
-SUBSTITUTE=sed "\
- s%@DEFAULT_CONFIG_FILE@%$(DEFAULT_CONFIG_FILE)%g;\
- s%@DEFAULT_CACHEMGR_CONFIG@%$(DEFAULT_CACHEMGR_CONFIG)%g;\
- s%@DEFAULT_ERROR_DIR@%$(DEFAULT_ERROR_DIR)%g;\
- s%@DEFAULT_MIME_TABLE@%$(DEFAULT_MIME_TABLE)%g;\
- s%@""PACKAGE_STRING""@%$(PACKAGE_STRING)%g;\
- "
-
-squid.8: $(srcdir)/squid.8.in Makefile
- $(SUBSTITUTE) < $(srcdir)/squid.8.in > $@
-
-cachemgr.cgi.8: $(srcdir)/cachemgr.cgi.8.in Makefile
- $(SUBSTITUTE) < $(srcdir)/cachemgr.cgi.8.in > $@
-
-man_MANS = \
- squid.8 \
- cachemgr.cgi.8
-
EXTRA_DIST = \
- squid.8.in \
- cachemgr.cgi.8.in \
debug-sections.txt
-
-CLEANFILES = \
- squid.8 \
- cachemgr.cgi.8