aboutsummaryrefslogtreecommitdiffstats
path: root/data/Makefile
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2002-08-22 15:17:02 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2002-08-22 15:17:02 +0000
commit918a75aacfca787c9cf4de89a954a96eb673d0aa (patch)
treeb4cbf0ae5e0012063aa54e1a550674b779547568 /data/Makefile
parenta0d202c2da34036c5200d40dfef313ae62edde94 (diff)
downloadrpmdrake-918a75aacfca787c9cf4de89a954a96eb673d0aa.tar
rpmdrake-918a75aacfca787c9cf4de89a954a96eb673d0aa.tar.gz
rpmdrake-918a75aacfca787c9cf4de89a954a96eb673d0aa.tar.bz2
rpmdrake-918a75aacfca787c9cf4de89a954a96eb673d0aa.tar.xz
rpmdrake-918a75aacfca787c9cf4de89a954a96eb673d0aa.zip
Add suppport for system-settings: for gnome2
Diffstat (limited to 'data/Makefile')
-rw-r--r--data/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/data/Makefile b/data/Makefile
new file mode 100644
index 00000000..d2987f02
--- /dev/null
+++ b/data/Makefile
@@ -0,0 +1,27 @@
+PREFIX = /usr/local
+DATADIR = $(PREFIX)/share
+BINDIR = $(PREFIX)/bin
+
+rpmdrake_dir = $(DATADIR)/rpmdrake
+
+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 $(rpmdrake_dir)/desktop
+ install -m644 $(DESKTOP) $(DIRECTORY) $(rpmdrake_dir)/desktop
+
+
+%.desktop: %.desktop.in
+ ../po/intltool-merge --utf8 ../po $< $@ -d -u -c ../po/.intltool-merge-cache
+%.directory: %.directory.in
+ ../po/intltool-merge --utf8 ../po $< $@ -d -u -c ../po/.intltool-merge-cache
+