-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
63 lines (49 loc) · 1.58 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
if DOC
SUBDIRS = msvc6 bcb5 config src include tests doc
else
SUBDIRS = msvc6 bcb5 config src include tests
endif
DIST_SUBDIRS = msvc6 bcb5 openvms config src include doc tests
bin_SCRIPTS = log4cpp-config
m4datadir = $(datadir)/aclocal
m4data_DATA = log4cpp.m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = log4cpp.pc
EXTRA_DIST = \
log4cpp.spec.in log4cpp.spec log4cpp.m4 \
m4/ac_config_libconfig_in.m4 \
m4/ac_config_pkgconfig_in.m4 \
m4/AC_CREATE_PREFIX_CONFIG_H.m4 \
m4/BB_ENABLE_DOXYGEN.m4 \
m4/BB_ENABLE_REMOTE_SYSLOG.m4 \
m4/BB_ENABLE_SMTP.m4 \
m4/AC_CXX_HAVE_SSTREAM.m4 \
m4/AC_CXX_NAMESPACES.m4 \
m4/PETI_PEDANTIC_GCC.m4 \
m4/AC_FUNC_SNPRINTF.m4 \
m4/AC_C_INT64_T.m4 \
m4/BB_CHECK_OMNITHREADS.m4 \
m4/BB_CHECK_PTHREADS.m4
.PHONY: check rpm docs doc-dist
dist-hook:
perl -pi -e 's/\n/\r\n/g' `find $(distdir) -name '*.ds?'`
perl -pi -e 's/\n/\r\n/g' `find $(distdir) -name '*.bpg'`
distclean-local:
$(RM) CONTENTS TAGS log4cpp-config
CONTENTS::
find $(top_srcdir) \( ! -type l -a -name '*.cpp' -o -name '*.hh' -o -name Makefile.am \) > $@
TAGS:: CONTENTS
etags `cat $<`
convenience.h \
rpm: dist
rpm -ta $(PACKAGE)-$(VERSION).tar.gz
mv -f /usr/src/redhat/SRPMS/$(PACKAGE)-$(VERSION)-*.rpm $(top_srcdir)
mv -f /usr/src/redhat/RPMS/*/$(PACKAGE)-$(VERSION)-*.rpm $(top_srcdir)
mv -f /usr/src/redhat/RPMS/*/$(PACKAGE)-devel-$(VERSION)-*.rpm \
$(top_srcdir)
mv -f /usr/src/redhat/RPMS/*/$(PACKAGE)-doc-$(VERSION)-*.rpm \
$(top_srcdir)
docs:
$(MAKE) -C doc
doc-dist: docs
tar -zcf $(PACKAGE)-docs-$(VERSION).tar.gz -C $(top_srcdir)/doc/html --exclude CVS .