summaryrefslogtreecommitdiff
path: root/gksu
diff options
context:
space:
mode:
Diffstat (limited to 'gksu')
-rw-r--r--gksu/Makefile.am5
-rw-r--r--gksu/libcaja-gksu.caja-extension.in4
2 files changed, 9 insertions, 0 deletions
diff --git a/gksu/Makefile.am b/gksu/Makefile.am
index be1bb7d..57f62c5 100644
--- a/gksu/Makefile.am
+++ b/gksu/Makefile.am
@@ -6,3 +6,8 @@ caja_extension_LTLIBRARIES = libcaja-gksu.la
libcaja_gksu_la_SOURCES = libcaja-gksu.c
libcaja_gksu_la_LDFLAGS = LDFLAGS = -module -avoid-version -no-undefined
libcaja_gksu_la_LIBADD = $(CAJA_LIBS)
+
+extensiondir = $(datadir)/caja/extensions
+extension_in_files = libcaja-gksu.caja-extension.in
+extension_DATA = $(extension_in_files:.caja-extension.in=.caja-extension)
+%.caja-extension: %.caja-extension.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
diff --git a/gksu/libcaja-gksu.caja-extension.in b/gksu/libcaja-gksu.caja-extension.in
new file mode 100644
index 0000000..6063a5e
--- /dev/null
+++ b/gksu/libcaja-gksu.caja-extension.in
@@ -0,0 +1,4 @@
+[Caja Extension]
+Icon=system
+_Name=Gksu
+_Description=Privilege granting extension