summaryrefslogtreecommitdiff
path: root/gksu
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-10-27 15:24:15 +0100
committerStefano Karapetsas <[email protected]>2014-10-27 15:24:15 +0100
commit8ffa7e78d9bb1e7a364a1c2f5d23a26d0c802498 (patch)
treea2d13b186e01ea661d286a91a1a9825e8c45cd4e /gksu
parentb5950f0eef1fcda2ed59e5d6ccfd560b10a5f6a3 (diff)
downloadcaja-extensions-8ffa7e78d9bb1e7a364a1c2f5d23a26d0c802498.tar.bz2
caja-extensions-8ffa7e78d9bb1e7a364a1c2f5d23a26d0c802498.tar.xz
Add ini files for extension management
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