File: Makefile.am

package info (click to toggle)
pam 1.3.1-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 13,084 kB
  • sloc: ansic: 31,022; xml: 21,835; sh: 12,645; makefile: 1,606; perl: 904; yacc: 408; lex: 72; sed: 16
file content (51 lines) | stat: -rw-r--r-- 1,309 bytes parent folder | download
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
#
# Copyright (c) 2005, 2006, 2007 Thorsten Kukuk <kukuk@thkukuk.de>
#

AUTOMAKE_OPTIONS = 1.9 gnu dist-bzip2 dist-xz check-news

SUBDIRS = libpam tests libpamc libpam_misc modules po conf doc examples xtests

CLEANFILES = *~

EXTRA_DIST = pgp.keys.asc CHANGELOG ChangeLog-CVS Copyright Make.xml.rules

ACLOCAL_AMFLAGS = -I m4

release: dist releasedocs

release-docs: releasedocs

releasedocs:
	rm -rf Linux-PAM-$(VERSION)
	mkdir -p Linux-PAM-$(VERSION)/doc
	make -C doc releasedocs
	tar zfc Linux-PAM-$(VERSION)-docs.tar.gz \
		Linux-PAM-$(VERSION)/doc
	tar jfc Linux-PAM-$(VERSION)-docs.tar.bz2 \
		Linux-PAM-$(VERSION)/doc
	tar Jfc Linux-PAM-$(VERSION)-docs.tar.xz \
                Linux-PAM-$(VERSION)/doc
	rm -rf Linux-PAM-$(VERSION)

xtests:
	make -C xtests xtests

.PHONY: xtests

gen_changelog_start_date = 2011-10-26
gen-ChangeLog:
	if test -d .git; then						\
		( $(top_srcdir)/gitlog-to-changelog --append-dot	\
		  --since=$(gen_changelog_start_date) &&		\
		  echo && echo &&					\
		  echo 'See ChangeLog-CVS for earlier changes.'		\
		) > $(distdir)/ChangeLog.new &&				\
		rm -f $(distdir)/ChangeLog &&				\
		mv $(distdir)/ChangeLog.new $(distdir)/ChangeLog;	\
	fi

dist-hook: gen-ChangeLog
.PHONY: gen-ChangeLog

export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner --mode=go-w,go+rX