mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Coolo: replaced all "install -d" with mkinstalldirs
(Taj, please put this on your list) corrected some apps for "make uninstall" svn path=/trunk/kdebase/kfind/; revision=702
This commit is contained in:
parent
d43f8726e6
commit
48de72c368
2 changed files with 12 additions and 7 deletions
|
@ -26,9 +26,10 @@ install-data-local:
|
|||
(cd pics && $(MAKE) install)
|
||||
|
||||
uninstall-local:
|
||||
rm -f $(PICSDIR)/$(TARGET).xpm
|
||||
rm -f $(PICSDIR)/kfind.xpm
|
||||
rm -f '$(prefix)/apps/Utilities/KDE Find Tool.kdelnk'
|
||||
(cd doc && $(MAKE) uninstall)
|
||||
(cd pics && $(MAKE) uninstall)
|
||||
|
||||
mkfdird.cpp: kfdird.h
|
||||
$(MOC) kfdird.h -o $@
|
||||
|
|
|
@ -1,20 +1,24 @@
|
|||
FILES = archive.xpm save.xpm delete.xpm info.xpm reload.xpm stop.xpm \
|
||||
contents.xpm fileopen.xpm idea.xpm exit.xpm viewzoom.xpm
|
||||
|
||||
PICSDIR = @prefix@/lib/pics
|
||||
INSTALL_DIR = @INSTALL@ -d -m 0755
|
||||
top_srcdir = @top_srcdir@
|
||||
PICSDIR = @prefix@/lib/pics/toolbar
|
||||
INSTALL_DATA = @INSTALL@ -m 644
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
|
||||
all:
|
||||
|
||||
Makefile: Makefile.in
|
||||
cd $(top_srcdir) && CONFIG_FILES=kfind/pics/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
install:
|
||||
$(INSTALL_DIR) $(PICSDIR)
|
||||
$(mkinstalldirs) $(PICSDIR)
|
||||
@for i in $(FILES); do \
|
||||
echo "$(INSTALL_DATA) $$i $(PICSDIR)/toolbar"; \
|
||||
$(INSTALL_DATA) "$$i" $(PICSDIR)/toolbar; \
|
||||
echo "$(INSTALL_DATA) $$i $(PICSDIR)"; \
|
||||
$(INSTALL_DATA) "$$i" $(PICSDIR); \
|
||||
done
|
||||
|
||||
uninstall:
|
||||
for i in $(FILES); do \
|
||||
rm -f $(PICSDIR)/toolbar/$$i ; \
|
||||
rm -f $(PICSDIR)/$$i ; \
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue