File: Makefile.am

package info (click to toggle)
log4shib 1.0.9-3~bpo7+1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports-sloppy
  • size: 4,244 kB
  • sloc: cpp: 4,767; sh: 4,210; ansic: 818; makefile: 268
file content (56 lines) | stat: -rw-r--r-- 1,350 bytes parent folder | download | duplicates (3)
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
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4

if DOC
SUBDIRS = msvc6 msvc8 msvc9 msvc10 config src include tests doc 
else
SUBDIRS = msvc6 msvc8 msvc9 msvc10 config src include tests
endif

DIST_SUBDIRS = debian msvc6 msvc8 msvc9 msvc10 openvms config src include doc tests

bin_SCRIPTS = log4shib-config

m4datadir = $(datadir)/aclocal
m4data_DATA = log4shib.m4

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = log4shib.pc

EXTRA_DIST = \
	log4shib.spec.in \
	log4shib.spec \
	log4shib.m4 \
	Portfile.in \
	Portfile

.PHONY: check rpm docs doc-dist

distclean-local:
	$(RM) CONTENTS TAGS log4shib-config

CONTENTS::
	find $(top_srcdir) \( ! -type l -a -name '*.cpp' -o -name '*.hh' -o -name Makefile.am \) > $@

TAGS:: CONTENTS
	etags `cat $<`

rpm: dist
	rpmbuild -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)

debian:
	chmod a+x $(top_srcdir)/debian/rules
	dpkg-buildpackage -rfakeroot -sa -us -uc -tc 

docs:
	$(MAKE) -C doc

doc-dist: docs
	tar -zcf $(PACKAGE)-docs-$(VERSION).tar.gz -C $(top_srcdir)/doc/html --exclude CVS --exclude .svn .