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
     1 EXTRA_DIST = \
     2 	AUTHORS \
     3 	COPYING \
     4 	ChangeLog \
     5 	INSTALL \
     6 	INSTALL.WIN32 \
     7 	intltool-extract.in \
     8 	intltool-merge.in \
     9 	intltool-update.in \
    10 	Makefile.am \
    11 	Makefile.mingw \
    12 	NEWS \
    13 	README \
    14 	VERSION \
    15 	VERSION.in \
    16 	plugin_pack.list \
    17 	plugin_pack.m4 \
    18 	plugin_pack.py \
    19 	plugin_pack.spec \
    20 	plugin_pack.stats \
    21 	pp_config.h.mingw \
    22 	win_pp.mak \
    23 	po/Makefile.in.in \
    24 	po/Makefile.mingw
    25 
    26 if INSTALL_I18N
    27 PO_DIR=po
    28 endif
    29 
    30 DIST_SUBDIRS = common doc po $(PP_DIST_DIRS)
    31 
    32 SUBDIRS = common doc $(PO_DIR) $(PP_BUILD_DIRS)
    33 
    34 DISTCLEANFILES=\
    35 	pp_config.h \
    36 	intltool-extract \
    37 	intltool-update \
    38 	intltool-merge \
    39 	plugin_pack.list \
    40 	plugin_pack.stats
    41 
    42 BUILT_SOURCES = pp_config.h plugin_pack.list plugin_pack.stats
    43 
    44 $(OBJECTS): $(BUILT_SOURCES)
    45 
    46 pp_config.h: pre_config.h
    47 	cp -f po/Makefile po/.tmp-Makefile
    48 	sed -e "s#localedir = .*#localedir = $(PURPLE_DATADIR)/locale#g" < po/.tmp-Makefile > po/Makefile
    49 	rm -f po/.tmp-Makefile
    50 	$(sedpath) 's/\#define PACKAGE/\#define PP_PACKAGE/g' pre_config.h > $@
    51 
    52 signatures: dist
    53 	echo $(DIST_ARCHIVES) | xargs -n 1 gpg -a -b
    54 
    55 plugin_pack.stats: plugin_pack.py $(SUBDIRS)
    56 	@$(PYTHON) $(top_srcdir)/plugin_pack.py stats > $@
    57 
    58 plugin_pack.list: plugin_pack.py $(SUBDIRS)
    59 	@$(PYTHON) $(top_srcdir)/plugin_pack.py list > $@