Makefile.am
author John Bailey <rekkanoryo@rekkanoryo.org>
Sun Aug 30 20:10:58 2009 -0400 (2009-08-30)
changeset 1046 93089a7ce7f6
parent 925 23bf52a00449
permissions -rw-r--r--
Merge
jbailey@22
     1
EXTRA_DIST = \
jbailey@22
     2
	AUTHORS \
jbailey@22
     3
	COPYING \
jbailey@22
     4
	ChangeLog \
jbailey@22
     5
	INSTALL \
jbailey@22
     6
	INSTALL.WIN32 \
grim@585
     7
	intltool-extract.in \
grim@585
     8
	intltool-merge.in \
grim@585
     9
	intltool-update.in \
jbailey@22
    10
	Makefile.am \
jbailey@22
    11
	Makefile.mingw \
jbailey@22
    12
	NEWS \
jbailey@22
    13
	README \
jbailey@22
    14
	VERSION \
jbailey@22
    15
	VERSION.in \
grim@887
    16
	plugin_pack.list \
grim@796
    17
	plugin_pack.m4 \
grim@787
    18
	plugin_pack.py \
grim@214
    19
	plugin_pack.spec \
grim@887
    20
	plugin_pack.stats \
grim@922
    21
	pp_config.h.mingw \
grim@585
    22
	win_pp.mak \
jbailey@22
    23
	po/Makefile.in.in \
grim@585
    24
	po/Makefile.mingw
jbailey@22
    25
rekkanoryo@736
    26
if INSTALL_I18N
rekkanoryo@736
    27
PO_DIR=po
rekkanoryo@736
    28
endif
jbailey@22
    29
grim@807
    30
DIST_SUBDIRS = common doc po $(PP_DIST_DIRS)
grim@585
    31
grim@814
    32
SUBDIRS = common doc $(PO_DIR) $(PP_BUILD_DIRS)
jbailey@22
    33
grim@386
    34
DISTCLEANFILES=\
grim@386
    35
	pp_config.h \
grim@386
    36
	intltool-extract \
grim@386
    37
	intltool-update \
grim@917
    38
	intltool-merge \
grim@917
    39
	plugin_pack.list \
grim@917
    40
	plugin_pack.stats
grim@386
    41
grim@887
    42
BUILT_SOURCES = pp_config.h plugin_pack.list plugin_pack.stats
jbailey@22
    43
jbailey@22
    44
$(OBJECTS): $(BUILT_SOURCES)
jbailey@22
    45
grim@214
    46
pp_config.h: pre_config.h
jbailey@22
    47
	cp -f po/Makefile po/.tmp-Makefile
grim@214
    48
	sed -e "s#localedir = .*#localedir = $(PURPLE_DATADIR)/locale#g" < po/.tmp-Makefile > po/Makefile
jbailey@22
    49
	rm -f po/.tmp-Makefile
grim@214
    50
	$(sedpath) 's/\#define PACKAGE/\#define PP_PACKAGE/g' pre_config.h > $@
jbailey@22
    51
grim@585
    52
signatures: dist
grim@584
    53
	echo $(DIST_ARCHIVES) | xargs -n 1 gpg -a -b
grim@584
    54
grim@888
    55
plugin_pack.stats: plugin_pack.py $(SUBDIRS)
grim@914
    56
	@$(PYTHON) $(top_srcdir)/plugin_pack.py stats > $@
grim@801
    57
grim@888
    58
plugin_pack.list: plugin_pack.py $(SUBDIRS)
grim@914
    59
	@$(PYTHON) $(top_srcdir)/plugin_pack.py list > $@