summaryrefslogtreecommitdiff
path: root/image-converter
diff options
context:
space:
mode:
Diffstat (limited to 'image-converter')
-rw-r--r--image-converter/Makefile.am7
-rw-r--r--image-converter/libcaja-image-converter.caja-extension.in4
2 files changed, 10 insertions, 1 deletions
diff --git a/image-converter/Makefile.am b/image-converter/Makefile.am
index 1a02871..5209912 100644
--- a/image-converter/Makefile.am
+++ b/image-converter/Makefile.am
@@ -26,5 +26,10 @@ builderdir = $(datadir)/caja-extensions
builder_DATA = \
caja-image-resize.ui \
caja-image-rotate.ui
-
+
+extensiondir = $(datadir)/caja/extensions
+extension_in_files = libcaja-image-converter.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 $< $@
+
EXTRA_DIST = $(builder_DATA)
diff --git a/image-converter/libcaja-image-converter.caja-extension.in b/image-converter/libcaja-image-converter.caja-extension.in
new file mode 100644
index 0000000..1ff5d1e
--- /dev/null
+++ b/image-converter/libcaja-image-converter.caja-extension.in
@@ -0,0 +1,4 @@
+[Caja Extension]
+Icon=image
+_Name=Image Converter
+_Description=Rotate and resize images