]> git.ipfire.org Git - thirdparty/squid.git/blob - doc/manuals/Substitute.am
SourceFormat Enforcement
[thirdparty/squid.git] / doc / manuals / Substitute.am
1 ## Copyright (C) 1996-2017 The Squid Software Foundation and contributors
2 ##
3 ## Squid software is distributed under GPLv2+ license and includes
4 ## contributions from numerous individuals and organizations.
5 ## Please see the COPYING and CONTRIBUTORS files for details.
6 ##
7
8 ## DEFAULT_MIME_TABLE = $(sysconfdir)/mime.conf
9 ## DEFAULT_ERROR_DIR = $(datadir)/errors
10
11 SUBSTITUTE=sed "\
12 s%@DEFAULT_ERROR_DIR@%$(DEFAULT_ERROR_DIR)%g;\
13 s%@DEFAULT_MIME_TABLE@%$(DEFAULT_MIME_TABLE)%g;\
14 s%@DEFAULT_SSL_CRTD@%$(DEFAULT_SSL_CRTD)%g;\
15 s%@DEFAULT_SSL_DB_DIR@%$(DEFAULT_SSL_DB_DIR)%g;\
16 s%@""PACKAGE_STRING""@%$(PACKAGE_STRING)%g;\
17 s%@SYSCONFDIR@%$(sysconfdir)%g;\
18 "
19
20 ## Example of how to substitute:
21 ## squid.8: $(srcdir)/squid.8.in Makefile
22 ## $(SUBSTITUTE) < $(srcdir)/squid.8.in > $@