summaryrefslogtreecommitdiffstats
path: root/data/Makefile
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2002-08-22 15:22:18 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2002-08-22 15:22:18 +0000
commit8cff45d0e8af5a690084c89abf7a7111d9835095 (patch)
treea804dad96c68307911c7488501730de45578e6f1 /data/Makefile
parent47f458f9a65c2816e4524485b39458f9b823b9fc (diff)
downloadcontrol-center-8cff45d0e8af5a690084c89abf7a7111d9835095.tar
control-center-8cff45d0e8af5a690084c89abf7a7111d9835095.tar.gz
control-center-8cff45d0e8af5a690084c89abf7a7111d9835095.tar.bz2
control-center-8cff45d0e8af5a690084c89abf7a7111d9835095.tar.xz
control-center-8cff45d0e8af5a690084c89abf7a7111d9835095.zip
dd support for system-settings for GNOME2
Diffstat (limited to 'data/Makefile')
-rw-r--r--data/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/data/Makefile b/data/Makefile
new file mode 100644
index 00000000..d477e9b4
--- /dev/null
+++ b/data/Makefile
@@ -0,0 +1,25 @@
+mcc_dir = $(DESTDIR)/usr/share/mcc
+
+DIRECTORY_IN := $(wildcard *.directory.in)
+DIRECTORY = $(DIRECTORY_IN:.directory.in=.directory)
+
+DESKTOP_IN := $(wildcard *.desktop.in)
+DESKTOP = $(DESKTOP_IN:.desktop.in=.desktop)
+
+all: $(DIRECTORY) $(DESKTOP)
+
+clean:
+ rm -f $(DIRECTORY) $(DESKTOP)
+
+install: all
+ install -d $(mcc_dir)/desktop
+ install -m644 $(DESKTOP) $(DIRECTORY) $(mcc_dir)/desktop
+ install -d $(DESTDIR)/etc/gnome-vfs-2.0/vfolders
+ install -m644 system-settings.vfolder-info $(DESTDIR)/etc/gnome-vfs-2.0/vfolders
+
+
+%.desktop: %.desktop.in
+ ./intltool-merge --utf8 ../po $< $@ -d -u -c ../po/.intltool-merge-cache
+%.directory: %.directory.in
+ ./intltool-merge --utf8 ../po $< $@ -d -u -c ../po/.intltool-merge-cache
+