aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rpmdragora/data/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'modules/rpmdragora/data/Makefile')
-rw-r--r--modules/rpmdragora/data/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/rpmdragora/data/Makefile b/modules/rpmdragora/data/Makefile
new file mode 100644
index 00000000..f35497a2
--- /dev/null
+++ b/modules/rpmdragora/data/Makefile
@@ -0,0 +1,19 @@
+PREFIX = /usr/local
+DATADIR = $(PREFIX)/share
+
+DESKTOP_IN := $(wildcard *.desktop.in)
+DESKTOP = $(DESKTOP_IN:.desktop.in=.desktop)
+
+all: $(DESKTOP)
+
+clean:
+ rm -f $(DESKTOP)
+
+install: all
+ install -d $(DATADIR)/applications
+ install -m644 $(DESKTOP) $(DATADIR)/applications
+
+
+%.desktop: %.desktop.in
+ intltool-merge --utf8 ../po $< $@ -d -u -c intltool-merge-cache
+