scripts/Makefile: Create directories before installing to them

This commit is contained in:
Jan Lindemann 2001-10-04 14:37:27 +00:00 committed by Jan Lindemann
commit 59ee48c42f

View file

@ -29,10 +29,18 @@
# #
########################################################################
install:
install *.sh -m 755 $(HOME)/bin/
mkdir -p $(HOME)/.jannet
if [ -f *.conf ]; then install *.conf $(HOME)/.jannet/; fi
EXEDIR = $(HOME)/bin
CONFDIR = $(HOME)/.jannet
$(EXEDIR):
mkdir -p $@
$(CONFDIR):
mkdir -p $@
install: $(EXEDIR) $(CONFDIR)
install *.sh -m 755 $(EXEDIR)/
if [ -f *.conf ]; then install *.conf $(CONFDIR)/; fi
clean distclean libclean:
rm -rf *~ .*.swp core