Skip to content

Commit

Permalink
May this work on FreeBSD. I think the plug-in problem stems from the …
Browse files Browse the repository at this point in the history
…fact

that there are pre-existing "Makefile" files in those directory which
don't properly implement the "install" target.
  • Loading branch information
Xliff committed Apr 25, 2001
1 parent 8337fd0 commit 8ac7bee
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions Makefile
Expand Up @@ -84,11 +84,16 @@ install: slash plugins
# directory it will be easy
# Lets go install the libraries, remember to clean out old versions.
(cd Slash; make install UNINST=1)
# Lets go install the plugin's libraries
# Lets go install the plugin libraries
#
# This tries to intelligently install plugins based on whether or not
# they have a Makefile. Not all current plugins have the "install" target
# so we shouldn't track them for errors, at this time. This should be
# fixed, eventually.
#
# If 'plugins' is already a dependency, why do we need to regenerate the
# Makefile? - Cliff
(cd plugins; \
-(cd plugins; \
for a in $(PLUGINS); do \
(cd $$a; \
if [ -f Makefile ]; then \
Expand Down Expand Up @@ -144,7 +149,10 @@ install: slash plugins
install -d $(SLASH_PREFIX)/$$d; \
install $$f $(SLASH_PREFIX)/$$d/$$b; \
if [ -f "$$f.bak" ]; then \
rm $$f; mv $$f.bak $$f; \
if [ -f $$f ]; then \
rm $$f; \
fi; \
mv $$f.bak $$f; \
fi; \
done)

Expand Down

0 comments on commit 8ac7bee

Please sign in to comment.