diff options
author | Daouda Lo <daouda@mandriva.com> | 2003-06-27 18:28:40 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2003-06-27 18:28:40 +0000 |
commit | b103ee3ddf23e590101621dccd1e64895f7099c8 (patch) | |
tree | aa0e2028fc61a3419fe37f620b679ddc0a49ff83 | |
parent | 0a6811b663dc9b5480fa788871bbe2f586e6b94e (diff) | |
download | userdrake-b103ee3ddf23e590101621dccd1e64895f7099c8.tar userdrake-b103ee3ddf23e590101621dccd1e64895f7099c8.tar.gz userdrake-b103ee3ddf23e590101621dccd1e64895f7099c8.tar.bz2 userdrake-b103ee3ddf23e590101621dccd1e64895f7099c8.tar.xz userdrake-b103ee3ddf23e590101621dccd1e64895f7099c8.zip |
- ln stuffs for normal users and drakconf
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,8 @@ VERSION = $(shell awk '/define version/ { print $$3 }' $(NAME).spec) NAME = userdrake BINNAME = userdrake +SBINREL = ../sbin +BINDIR = /usr/bin SUBDIRS = po localedir = $(prefix)/usr/share/locale RPM=$(HOME)/rpm @@ -17,9 +19,9 @@ clean: install: all $(MAKE) -C po $@ - install -d $(RPM_BUILD_ROOT){/etc/sysconfig,/usr/{sbin/,share/$(NAME)/pixmaps,share/icons/{mini,large}}} + install -d $(RPM_BUILD_ROOT){/etc/sysconfig,/usr/{bin,sbin,share/$(NAME)/pixmaps,share/icons/{mini,large}}} install -s -m755 $(NAME) $(RPM_BUILD_ROOT)/usr/sbin/ -# install -s -m755 $(BINNAME) $(RPM_BUILD_ROOT)/usr/sbin/userdrake + ln -sf $(SBINREL)/userdrake $(BINDIR)/userdrake install -m644 userdrake.prefs $(RPM_BUILD_ROOT)/etc/sysconfig/userdrake install -m644 pixmaps/*.png $(RPM_BUILD_ROOT)/usr/share/$(NAME)/pixmaps install -m644 icons/$(NAME)16.png $(RPM_BUILD_ROOT)/usr/share/icons/mini/$(NAME).png |