fixed "make install" errors if subdirectory CVS exists

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2005-11-22 15:35:08 +00:00
parent 8cb2cf0997
commit 8305192b12

View File

@ -28,12 +28,16 @@ doc: geany.1 geany.txt html/*
install-data-local: geany.1 geany.txt html/*
$(mkinstalldirs) $(DOCDIR)/html/images
for file in `ls $(HTML_FILES)`; do \
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
$(INSTALL_DATA) $(srcdir)/$$file $(DOCDIR)/html/$$basefile; \
if [ -f $$file ]; then \
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
$(INSTALL_DATA) $(srcdir)/$$file $(DOCDIR)/html/$$basefile; \
fi \
done
for file in `ls $(IMAGE_FILES)`; do \
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
$(INSTALL_DATA) $(srcdir)/$$file $(DOCDIR)/html/images/$$basefile; \
if [ -f $$file ]; then \
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
$(INSTALL_DATA) $(srcdir)/$$file $(DOCDIR)/html/images/$$basefile; \
fi \
done
$(INSTALL_DATA) geany.txt $(DOCDIR)