File: Makefile.am

package info (click to toggle)
lunar-date 2.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,952 kB
  • ctags: 311
  • sloc: sh: 11,074; ansic: 1,557; makefile: 217
file content (96 lines) | stat: -rw-r--r-- 2,559 bytes parent folder | download | duplicates (5)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = po lunar-date data tests docs

AM_CPPFLAGS = -DLIBLUNAR_DISABLE_DEPRECATED

EXTRA_DIST =                    \
	lunar-date-2.0.pc.in	\
        ChangeLog.pre-2-2       \
	sanity_check		\
        intltool-extract.in     \
        intltool-merge.in       \
        intltool-update.in

DISTCLEANFILES =                \
        intltool-extract        \
        intltool-merge          \
        intltool-update

MAINTAINERCLEANFILES = 		\
	aclocal.m4		\
	config.guess		\
	config.h.in		\
	config.sub		\
	depcomp			\
	gtk-doc.make		\
	install-sh		\
	ltmain.sh		\
	missing			\
	mkinstalldirs		\
	py-compile		\
	m4/gtk-doc.m4		\
	m4/intltool.m4		\
	m4/libtool.m4		\
	m4/ltoptions.m4		\
	m4/ltsugar.m4		\
	m4/ltversion.m4		\
	m4/lt~obsolete.m4	\
	`find "$(srcdir)" -type f -name Makefile.in -print`

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = lunar-date-2.0.pc

if HAVE_INTROSPECTION
if HAVE_VALA
SUBDIRS += vapi
endif
endif

DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection

.PHONY: release sanity snapshot snapcheck ChangeLog

release:
	googlecode_upload.py -s $(distdir).tar.gz -p liblunar -u yetist@gmail.com -l Featured,Type-Source,OpSys-Linux $(distdir).tar.gz

sanity:
	./sanity_check $(VERSION)

snapshot:
	$(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`

snapcheck:
	$(MAKE) distcheck distdir=$(PACKAGE)-snap`date +"%Y%m%d"`

CHANGELOG_START = tags/v2.2.3

ChangeLog:
	@echo Creating $@
	@if test -d "$(srcdir)/../.git"; then \
          (./missing --run git log $(CHANGELOG_START)^^.. --stat $(srcdir) ) | fmt --split-only > $@.tmp \
          && mv -f $@.tmp $@ \
          || ($(RM) $@.tmp; \
              echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
              (test -f $@ || echo git-log is required to generate this file >> $@)); \
        else \
          test -f $@ || \
          (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
          echo A git checkout and git-log is required to generate this file >> $@); \
        fi

dist-hook:
	$(MAKE) -C "$(srcdir)/po" "$(GETTEXT_PACKAGE).pot"
	cp "$(srcdir)/po/$(GETTEXT_PACKAGE).pot" "$(distdir)/po/"
	if test -f $(srcdir)/INSTALL.in && test -f $(srcdir)/README.in ; then \
		CONFIG_FILES="INSTALL:$(srcdir)/INSTALL.in README:$(srcdir)/README.in" \
		CONFIG_HEADERS= \
		$(SHELL) config.status \
		&& cp INSTALL README $(distdir) ; \
	fi

distclean-local:
	if test "$(srcdir)" = "."; then :; else \
                rm -f ChangeLog; \
        fi

-include $(top_srcdir)/git.mk