don't need all sed stuff and ignoring of .git, since we don't run this
in the top level, and hence never find a .git, second we don't want .*
stuff, so we can just use * and make our lives much easier
readpecoff \
regenworld
-# This is just a lazy hack for not having to list all files individually
-# FIXME: make it a list (so it becomes explicit) and use an
-# AM_CONDITIONAL to not include the sed wrapper in it when a Prefix is
-# active.
-list_sourcedir_dirs = \
- ( cd "$(srcdir)" && find . -name '.svn' -prune -o -type d -print )
-
all:
install:
$(INSTALL) -d -m 755 -o "$(portageuser)" -g "$(portagegroup)" $(DESTDIR)$(PORTAGE_BIN)
- $(list_sourcedir_dirs) | while read f ; do \
+ ( cd "$(srcdir)" && find * -type d ) | while read f ; do \
files=( ) ; \
for t in "$(srcdir)/$${f}"/* ; do \
[[ -d $${t} ]] && continue ; \
install:
$(INSTALL) -d -m 755 -o "$(portageuser)" -g "$(portagegroup)" $(DESTDIR)$(PORTAGE_PYM)
- ( cd "$(srcdir)" && find . -name '.git' -prune -o -type d -print | sed 's|^./\?||' ) | while read f ; do \
+ ( cd "$(srcdir)" && find * -type d ) | while read f ; do \
$(INSTALL) -d -m 755 \
-o "$(portageuser)" -g "$(portagegroup)" \
"$(DESTDIR)$(PORTAGE_PYM)/$${f}" && \