]> granicus.if.org Git - linux-pam/blob - Makefile.am
Relevant BUGIDs: 2730965
[linux-pam] / Makefile.am
1 #
2 # Copyright (c) 2005, 2006, 2007 Thorsten Kukuk <kukuk@thkukuk.de>
3 #
4
5 AUTOMAKE_OPTIONS = 1.9 gnu dist-bzip2 check-news
6
7 if STATIC_MODULES
8 SUBDIRS = modules libpam libpamc libpam_misc tests po conf doc examples xtests
9 else
10 SUBDIRS = libpam tests libpamc libpam_misc modules po conf doc examples xtests
11 endif
12
13 CLEANFILES = *~
14
15 M4_FILES = m4/gettext.m4 m4/iconv.m4 m4/intlmacosx.m4 \
16         m4/japhar_grep_cflags.m4 m4/jh_path_xml_catalog.m4 \
17         m4/ld-as-needed.m4 m4/ld-O1.m4 m4/lib-ld.m4 m4/lib-link.m4 \
18         m4/lib-prefix.m4 m4/libprelude.m4 m4/libtool.m4 m4/nls.m4 \
19         m4/po.m4 m4/progtest.m4
20
21 EXTRA_DIST = config.rpath mkinstalldirs pgp.keys.asc CHANGELOG \
22                 Copyright $(M4_FILES) Make.xml.rules
23
24 ACLOCAL_AMFLAGS = -I m4
25
26 release: dist releasedocs
27
28 release-docs: releasedocs
29
30 releasedocs:
31         rm -rf Linux-PAM-$(VERSION)
32         mkdir -p Linux-PAM-$(VERSION)/doc
33         make -C doc releasedocs
34         tar zfc Linux-PAM-$(VERSION)-docs.tar.gz \
35                 Linux-PAM-$(VERSION)/doc
36         tar jfc Linux-PAM-$(VERSION)-docs.tar.bz2 \
37                 Linux-PAM-$(VERSION)/doc
38         rm -rf Linux-PAM-$(VERSION)
39
40 xtests:
41         make -C xtests xtests
42
43 .PHONY: xtests