]> git.ipfire.org Git - thirdparty/squid.git/blob - Makefile.am
Cleanups: Replace cnfig parser gotos with do-while loop.
[thirdparty/squid.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 #
3 # $Id: Makefile.am,v 1.27 2006/05/11 01:36:57 hno Exp $
4 #
5
6 AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects 1.5 foreign
7 DIST_SUBDIRS = lib snmplib scripts src icons errors contrib doc helpers test-suite tools
8 SUBDIRS = lib @makesnmplib@ scripts src icons errors doc helpers test-suite tools
9
10 DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*
11 DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
12
13 dist-hook:
14 @ for subdir in include; do \
15 if test "$$subdir" = .; then :; else \
16 test -d $(distdir)/$$subdir \
17 || mkdir $(distdir)/$$subdir \
18 || exit 1; \
19 cp -p $(srcdir)/$$subdir/*.h $(distdir)/$$subdir \
20 || exit 1; \
21 rm -f $(distdir)/$$subdir/autoconf.h; \
22 fi; \
23 done
24 @if [ -f $(top_srcdir)/RELEASENOTES.html ]; then \
25 cp -p $(top_srcdir)/RELEASENOTES.html $(distdir)/RELEASENOTES.html; \
26 else \
27 cp $(top_srcdir)/doc/release-notes/release-3.0.html $(distdir)/RELEASENOTES.html; \
28 fi
29
30 EXTRA_DIST = \
31 ChangeLog \
32 CONTRIBUTORS \
33 COPYING \
34 COPYRIGHT \
35 CREDITS \
36 INSTALL \
37 QUICKSTART \
38 README \
39 SPONSORS \
40 bootstrap.sh
41
42 install-pinger:
43 chown root $(DEFAULT_PINGER)
44 chmod 4711 $(DEFAULT_PINGER)