]> 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-2015 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%@""PACKAGE_STRING""@%$(PACKAGE_STRING)%g;\
15 s%@SYSCONFDIR@%$(sysconfdir)%g;\
16 "
17
18 ## Example of how to substitute:
19 ## squid.8: $(srcdir)/squid.8.in Makefile
20 ## $(SUBSTITUTE) < $(srcdir)/squid.8.in > $@