aboutsummaryrefslogtreecommitdiffstats
path: root/data/epiphany.m4
diff options
context:
space:
mode:
Diffstat (limited to 'data/epiphany.m4')
-rw-r--r--data/epiphany.m430
1 files changed, 30 insertions, 0 deletions
diff --git a/data/epiphany.m4 b/data/epiphany.m4
new file mode 100644
index 000000000..e880c22b6
--- /dev/null
+++ b/data/epiphany.m4
@@ -0,0 +1,30 @@
+## epiphany.m4 - Macros for building epiphany extensions. -*-Shell-script-*-
+## Copyright (C) Crispin Flowerday <crispin@gnome.org>
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+## General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+##
+## As a special exception to the GNU General Public License, if you
+## distribute this file as part of a program that contains a
+## configuration script generated by Autoconf, you may include it under
+## the same distribution terms that you use for the rest of that program.
+
+AC_DEFUN([AC_EPIPHANY_EXTENSION],
+[
+
+EPIPHANY_EXTENSION_RULE='%.ephy-extension: %.ephy-extension.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+
+AC_SUBST(EPIPHANY_EXTENSION_RULE)
+
+])