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:
Stephan Kulow 1997-08-06 13:29:17 +00:00
parent d43f8726e6
commit 48de72c368
2 changed files with 12 additions and 7 deletions

View file

@ -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 $@

View file

@ -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