diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
@@ -1,4 +1,3 @@ - VERSION = 1.14 NAME = userdrake BINNAME = userdrake @@ -6,28 +5,26 @@ BINNAME = userdrake PREFIX = / DATADIR = $(PREFIX)/usr/share ICONSDIR = $(DATADIR)/icons -SBINDIR = $(PREFIX)/usr/sbin +LIBEXECDIR = $(PREFIX)/usr/libexec BINDIR = $(PREFIX)/usr/bin SYSCONFDIR = $(PREFIX)/etc/sysconfig -SBINREL = ../sbin -SUBDIRS = po +SUBDIRS = po polkit localedir = $(prefix)/usr/share/locale all: userdrake - for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done + for d in $(SUBDIRS); do ( make -C $$d $@ ) ; done clean: $(MAKE) -C po $@ rm -f core .#*[0-9] - for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done + for d in $(SUBDIRS); do ( make -C $$d $@ ) ; done install: all $(MAKE) -C po $@ - install -d $(PREFIX)/{/etc/sysconfig,usr/{bin,sbin,share/$(NAME)/pixmaps,share/icons/{mini,large}}} - install -m755 $(NAME) $(SBINDIR)/ - ln -sf $(SBINREL)/userdrake $(BINDIR)/userdrake - ln -sf $(SBINREL)/userdrake $(SBINDIR)/drakuser + install -d $(PREFIX)/{/etc/sysconfig,usr/{bin,libexec,share/$(NAME)/pixmaps,share/icons/{mini,large}}} + install -m755 $(NAME) $(LIBEXECDIR)/drakuser + ln -sf drakuser $(BINDIR)/$(NAME) install -d $(SYSCONFDIR) install -m644 userdrake.prefs $(SYSCONFDIR)/userdrake install -m644 pixmaps/*.png $(DATADIR)/$(NAME)/pixmaps @@ -35,7 +32,7 @@ install: all install -m644 icons/$(NAME)32.png $(ICONSDIR)/$(NAME).png install -m644 icons/$(NAME)48.png $(ICONSDIR)/large/$(NAME).png install -m644 icons/*selec*.png $(DATADIR)/$(NAME)/pixmaps - for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done + for d in $(SUBDIRS); do ( make -C $$d $@ ) ; done dis: dist dist: clean |