summaryrefslogtreecommitdiffstats
path: root/data/Makefile
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2002-08-22 16:18:07 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2002-08-22 16:18:07 +0000
commit06f1b01191416ac81e3976938349e7208bf5a557 (patch)
tree56170974ad18df10821bff87b5894ded6f84c393 /data/Makefile
parent4ded1b990f4c8ec20b47c9020413688cc9c3e9ef (diff)
downloaddrakwizard-06f1b01191416ac81e3976938349e7208bf5a557.tar
drakwizard-06f1b01191416ac81e3976938349e7208bf5a557.tar.gz
drakwizard-06f1b01191416ac81e3976938349e7208bf5a557.tar.bz2
drakwizard-06f1b01191416ac81e3976938349e7208bf5a557.tar.xz
drakwizard-06f1b01191416ac81e3976938349e7208bf5a557.zip
Add support for server-settings: for GNOME 2
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..a7fe102c
--- /dev/null
+++ b/data/Makefile
@@ -0,0 +1,25 @@
+wizards_dir = $(prefix)/share/wizards
+
+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 $(wizards_dir)/desktop
+ install -m644 $(DESKTOP) $(DIRECTORY) $(wizards_dir)/desktop
+ install -d $(prefix)/../etc/gnome-vfs-2.0/vfolders
+ install -m644 server-settings.vfolder-info $(prefix)/../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
+